<?php
class ImageCreation {
    protected $path = "images/";
    protected $image_w;
    protected $image_h;
    protected $image_text;
    protected $fontpath = "images/";
    protected $fontname = "SOLMEDIO.TTF";
    protected $fontsize = "";
    protected $fontcolor = "BLACK";
    protected $fontbackgroundcolor = "WHITE";
    protected $name_to_rgb = array();
    protected $rgb_to_name = array();
    protected $name_to_hex = array();
    protected $hex_to_name = array();
    protected $hex_to_rgb = array();
    protected $rgb_to_hex = array();

    protected $error_messages = array(1 => "Cannot Initialize new GD image streamsss!",
        2 => "Font is missing!",
        3 => "File write error!!"
        );
    protected $error;

    public function __construct($image_text)
    {
        $this->image_text = $image_text;
        $this->init();
    }

    public function setPath($path)
    {
        $this->path = $path;
    }

    public function setImageW($image_w)
    {
        $this->image_w = $image_w;
    }

    public function setImageH($image_h)
    {
        $this->image_h = $image_h;
    }

    public function setFontPath($fontpath)
    {
        $this->fontpath = $fontpath;
    }

    public function setFontName($fontname)
    {
        $this->fontname = $fontname;
    }

    public function setFontSize($fontsize)
    {
        $this->fontsize = $fontsize;
    }

    public function setFontColor($fontcolor)
    {
        $fontcolor = strtoupper($fontcolor);
        // if it's hex web color
        if (substr($fontcolor, 0, 1) == "#")
            $fontcolor = $this->hex_to_name[substr($fontcolor, 1)];

        if ($this->name_to_rgb[$fontcolor] != "")
            $this->fontcolor = $fontcolor;
        else
            $this->fontcolor = "BLACK";
    }

    public function setFontBackColor($fontbackgroundcolor)
    {
        $fontbackgroundcolor = strtoupper($fontbackgroundcolor);
        // if it's hex web color
        if (substr($fontbackgroundcolor, 0, 1) == "#")
            $fontbackgroundcolor = $this->hex_to_name[substr($fontbackgroundcolor, 1)];

        if ($this->name_to_rgb[$fontbackgroundcolor] != "")
            $this->fontbackgroundcolor = $fontbackgroundcolor;
        else
            $this->fontbackgroundcolor = "WHITE";
    }

    public function getFontBackColor()
    {
        return $this->fontbackgroundcolor;
    }

    public function getFontSize()
    {
        return $this->fontsize;
    }

    public function getFontColor()
    {
        return $this->fontcolor;
    }

    public function getFontName()
    {
        return $this->fontname;
    }

    public function getFontPath()
    {
        return $this->fontpath;
    }

    public function getImageH()
    {
        return $this->image_h;
    }

    public function getImageW()
    {
        return $this->image_w;
    }

    public function getPath()
    {
        return $this->path;
    }

    public function getErrorMessage()
    {
        return $this->error_messages[$this->error];
    }

    public function createName()
    {
        return md5($this->image_text) . ".jpg";

    }

    public function fileExists()
    {
        return file_exists($this->path . $this->createName());
    }

    public function calculateTextBox($size, $angle, $fontfile, $text)
    {
        $bbox = imagettfbbox($size, $angle, $fontfile, $text);
        // calculate x baseline
        if ($bbox[0] >= -1) {
            $bbox['x'] = abs($bbox[0] + 1) * -1;
        } else {
            // $bbox['x'] = 0;
            $bbox['x'] = abs($bbox[0] + 2);
        }
        // calculate actual text width
        $bbox['width'] = abs($bbox[2] - $bbox[0]);
        if ($bbox[0] < -1) {
            $bbox['width'] = abs($bbox[2]) + abs($bbox[0]) - 1;
        }
        // calculate y baseline
        $bbox['y'] = abs($bbox[5] + 1);
        // calculate actual text height
        $bbox['height'] = abs($bbox[7]) - abs($bbox[1]);
        if ($bbox[3] > 0) {
            $bbox['height'] = abs($bbox[7] - $bbox[1]) - 1;
        }

        return $bbox;
    }

    public function createImage()
    {
        // try to make a box measuring the text
        $measures = $this->calculateTextBox($this->fontsize, 0, $this->fontpath . $this->fontname, $this->image_text);

        $img_w = (empty($this->image_w)?$measures['width'] + 3:$this->image_w);
        $img_h = (empty($this->image_h)?$measures['height'] + 3:$this->image_h);
        $im = @imagecreate($img_w, $img_h);
        if ($im) {
            // image background creation
            $color = explode(" ", $this->name_to_rgb[$this->fontbackgroundcolor]);
            $r = $color[0];
            $g = $color[1];
            $b = $color[2];

            imagecolorallocate($im, $r, $g, $b);
            // writting the text
            $color = explode(" ", $this->name_to_rgb[$this->fontcolor]);
            $r = $color[0];
            $g = $color[1];
            $b = $color[2];

            $text_color = imagecolorallocate($im, $r, $g, $b);

            imagettftext($im, $this->fontsize, 0, 0, $this->fontsize, $text_color, $this->fontpath . $this->fontname, $this->image_text);

            imagejpeg($im, $this->path . $this->createName(), 100);
            imagedestroy($im);
        } else
            $this->error = 1;
    }

    public function init()
    {
        if (!function_exists("imagecreate") || !function_exists("imagettftext"))
            $this->error = 1;
        else
            $this->error = 0;
        // Set some default values:
        $this->name_to_rgb['SNOW'] = '255 250 250';
        $this->name_to_rgb['GHOST WHITE'] = '248 248 255';
        $this->name_to_rgb['GHOSTWHITE'] = '248 248 255';
        $this->name_to_rgb['WHITE SMOKE'] = '245 245 245';
        $this->name_to_rgb['WHITESMOKE'] = '245 245 245';
        $this->name_to_rgb['GAINSBORO'] = '220 220 220';
        $this->name_to_rgb['FLORAL WHITE'] = '255 250 240';
        $this->name_to_rgb['FLORALWHITE'] = '255 250 240';
        $this->name_to_rgb['OLD LACE'] = '253 245 230';
        $this->name_to_rgb['OLDLACE'] = '253 245 230';
        $this->name_to_rgb['LINEN'] = '250 240 230';
        $this->name_to_rgb['ANTIQUE WHITE'] = '250 235 215';
        $this->name_to_rgb['ANTIQUEWHITE'] = '250 235 215';
        $this->name_to_rgb['PAPAYA WHIP'] = '255 239 213';
        $this->name_to_rgb['PAPAYAWHIP'] = '255 239 213';
        $this->name_to_rgb['BLANCHED ALMOND'] = '255 235 205';
        $this->name_to_rgb['BLANCHEDALMOND'] = '255 235 205';
        $this->name_to_rgb['BISQUE'] = '255 228 196';
        $this->name_to_rgb['PEACH PUFF'] = '255 218 185';
        $this->name_to_rgb['PEACHPUFF'] = '255 218 185';
        $this->name_to_rgb['NAVAJO WHITE'] = '255 222 173';
        $this->name_to_rgb['NAVAJOWHITE'] = '255 222 173';
        $this->name_to_rgb['MOCCASIN'] = '255 228 181';
        $this->name_to_rgb['CORNSILK'] = '255 248 220';
        $this->name_to_rgb['IVORY'] = '255 255 240';
        $this->name_to_rgb['LEMON CHIFFON'] = '255 250 205';
        $this->name_to_rgb['LEMONCHIFFON'] = '255 250 205';
        $this->name_to_rgb['SEASHELL'] = '255 245 238';
        $this->name_to_rgb['HONEYDEW'] = '240 255 240';
        $this->name_to_rgb['MINT CREAM'] = '245 255 250';
        $this->name_to_rgb['MINTCREAM'] = '245 255 250';
        $this->name_to_rgb['AZURE'] = '240 255 255';
        $this->name_to_rgb['ALICE BLUE'] = '240 248 255';
        $this->name_to_rgb['ALICEBLUE'] = '240 248 255';
        $this->name_to_rgb['LAVENDER'] = '230 230 250';
        $this->name_to_rgb['LAVENDER BLUSH'] = '255 240 245';
        $this->name_to_rgb['LAVENDERBLUSH'] = '255 240 245';
        $this->name_to_rgb['MISTY ROSE'] = '255 228 225';
        $this->name_to_rgb['MISTYROSE'] = '255 228 225';
        $this->name_to_rgb['WHITE'] = '255 255 255';
        $this->name_to_rgb['BLACK'] = '0 0 0';
        $this->name_to_rgb['DARK SLATE GRAY'] = '47 79 79';
        $this->name_to_rgb['DARKSLATEGRAY'] = '47 79 79';
        $this->name_to_rgb['DARK SLATE GREY'] = '47 79 79';
        $this->name_to_rgb['DARKSLATEGREY'] = '47 79 79';
        $this->name_to_rgb['DIM GRAY'] = '105 105 105';
        $this->name_to_rgb['DIMGRAY'] = '105 105 105';
        $this->name_to_rgb['DIM GREY'] = '105 105 105';
        $this->name_to_rgb['DIMGREY'] = '105 105 105';
        $this->name_to_rgb['SLATE GRAY'] = '112 128 144';
        $this->name_to_rgb['SLATEGRAY'] = '112 128 144';
        $this->name_to_rgb['SLATE GREY'] = '112 128 144';
        $this->name_to_rgb['SLATEGREY'] = '112 128 144';
        $this->name_to_rgb['LIGHT SLATE GRAY'] = '119 136 153';
        $this->name_to_rgb['LIGHTSLATEGRAY'] = '119 136 153';
        $this->name_to_rgb['LIGHT SLATE GREY'] = '119 136 153';
        $this->name_to_rgb['LIGHTSLATEGREY'] = '119 136 153';
        $this->name_to_rgb['GRAY'] = '190 190 190';
        $this->name_to_rgb['GREY'] = '190 190 190';
        $this->name_to_rgb['LIGHT GREY'] = '211 211 211';
        $this->name_to_rgb['LIGHTGREY'] = '211 211 211';
        $this->name_to_rgb['LIGHT GRAY'] = '211 211 211';
        $this->name_to_rgb['LIGHTGRAY'] = '211 211 211';
        $this->name_to_rgb['MIDNIGHT BLUE'] = '25 25 112';
        $this->name_to_rgb['MIDNIGHTBLUE'] = '25 25 112';
        $this->name_to_rgb['NAVY'] = '0 0 128';
        $this->name_to_rgb['NAVY BLUE'] = '0 0 128';
        $this->name_to_rgb['NAVYBLUE'] = '0 0 128';
        $this->name_to_rgb['CORNFLOWER BLUE'] = '100 149 237';
        $this->name_to_rgb['CORNFLOWERBLUE'] = '100 149 237';
        $this->name_to_rgb['DARK SLATE BLUE'] = '72 61 139';
        $this->name_to_rgb['DARKSLATEBLUE'] = '72 61 139';
        $this->name_to_rgb['SLATE BLUE'] = '106 90 205';
        $this->name_to_rgb['SLATEBLUE'] = '106 90 205';
        $this->name_to_rgb['MEDIUM SLATE BLUE'] = '123 104 238';
        $this->name_to_rgb['MEDIUMSLATEBLUE'] = '123 104 238';
        $this->name_to_rgb['LIGHT SLATE BLUE'] = '132 112 255';
        $this->name_to_rgb['LIGHTSLATEBLUE'] = '132 112 255';
        $this->name_to_rgb['MEDIUM BLUE'] = '0 0 205';
        $this->name_to_rgb['MEDIUMBLUE'] = '0 0 205';
        $this->name_to_rgb['ROYAL BLUE'] = '65 105 225';
        $this->name_to_rgb['ROYALBLUE'] = '65 105 225';
        $this->name_to_rgb['BLUE'] = '0 0 255';
        $this->name_to_rgb['DODGER BLUE'] = '30 144 255';
        $this->name_to_rgb['DODGERBLUE'] = '30 144 255';
        $this->name_to_rgb['DEEP SKY BLUE'] = '0 191 255';
        $this->name_to_rgb['DEEPSKYBLUE'] = '0 191 255';
        $this->name_to_rgb['SKY BLUE'] = '135 206 235';
        $this->name_to_rgb['SKYBLUE'] = '135 206 235';
        $this->name_to_rgb['LIGHT SKY BLUE'] = '135 206 250';
        $this->name_to_rgb['LIGHTSKYBLUE'] = '135 206 250';
        $this->name_to_rgb['STEEL BLUE'] = '70 130 180';
        $this->name_to_rgb['STEELBLUE'] = '70 130 180';
        $this->name_to_rgb['LIGHT STEEL BLUE'] = '176 196 222';
        $this->name_to_rgb['LIGHTSTEELBLUE'] = '176 196 222';
        $this->name_to_rgb['LIGHT BLUE'] = '173 216 230';
        $this->name_to_rgb['LIGHTBLUE'] = '173 216 230';
        $this->name_to_rgb['POWDER BLUE'] = '176 224 230';
        $this->name_to_rgb['POWDERBLUE'] = '176 224 230';
        $this->name_to_rgb['PALE TURQUOISE'] = '175 238 238';
        $this->name_to_rgb['PALETURQUOISE'] = '175 238 238';
        $this->name_to_rgb['DARK TURQUOISE'] = '0 206 209';
        $this->name_to_rgb['DARKTURQUOISE'] = '0 206 209';
        $this->name_to_rgb['MEDIUM TURQUOISE'] = '72 209 204';
        $this->name_to_rgb['MEDIUMTURQUOISE'] = '72 209 204';
        $this->name_to_rgb['TURQUOISE'] = '64 224 208';
        $this->name_to_rgb['CYAN'] = '0 255 255';
        $this->name_to_rgb['LIGHT CYAN'] = '224 255 255';
        $this->name_to_rgb['LIGHTCYAN'] = '224 255 255';
        $this->name_to_rgb['CADET BLUE'] = '95 158 160';
        $this->name_to_rgb['CADETBLUE'] = '95 158 160';
        $this->name_to_rgb['MEDIUM AQUAMARINE'] = '102 205 170';
        $this->name_to_rgb['MEDIUMAQUAMARINE'] = '102 205 170';
        $this->name_to_rgb['AQUAMARINE'] = '127 255 212';
        $this->name_to_rgb['DARK GREEN'] = '0 100 0';
        $this->name_to_rgb['DARKGREEN'] = '0 100 0';
        $this->name_to_rgb['DARK OLIVE GREEN'] = '85 107 47';
        $this->name_to_rgb['DARKOLIVEGREEN'] = '85 107 47';
        $this->name_to_rgb['DARK SEA GREEN'] = '143 188 143';
        $this->name_to_rgb['DARKSEAGREEN'] = '143 188 143';
        $this->name_to_rgb['SEA GREEN'] = '46 139 87';
        $this->name_to_rgb['SEAGREEN'] = '46 139 87';
        $this->name_to_rgb['MEDIUM SEA GREEN'] = '60 179 113';
        $this->name_to_rgb['MEDIUMSEAGREEN'] = '60 179 113';
        $this->name_to_rgb['LIGHT SEA GREEN'] = '32 178 170';
        $this->name_to_rgb['LIGHTSEAGREEN'] = '32 178 170';
        $this->name_to_rgb['PALE GREEN'] = '152 251 152';
        $this->name_to_rgb['PALEGREEN'] = '152 251 152';
        $this->name_to_rgb['SPRING GREEN'] = '0 255 127';
        $this->name_to_rgb['SPRINGGREEN'] = '0 255 127';
        $this->name_to_rgb['LAWN GREEN'] = '124 252 0';
        $this->name_to_rgb['LAWNGREEN'] = '124 252 0';
        $this->name_to_rgb['GREEN'] = '0 255 0';
        $this->name_to_rgb['CHARTREUSE'] = '127 255 0';
        $this->name_to_rgb['MEDIUM SPRING GREEN'] = '0 250 154';
        $this->name_to_rgb['MEDIUMSPRINGGREEN'] = '0 250 154';
        $this->name_to_rgb['GREEN YELLOW'] = '173 255 47';
        $this->name_to_rgb['GREENYELLOW'] = '173 255 47';
        $this->name_to_rgb['LIME GREEN'] = '50 205 50';
        $this->name_to_rgb['LIMEGREEN'] = '50 205 50';
        $this->name_to_rgb['YELLOW GREEN'] = '154 205 50';
        $this->name_to_rgb['YELLOWGREEN'] = '154 205 50';
        $this->name_to_rgb['FOREST GREEN'] = '34 139 34';
        $this->name_to_rgb['FORESTGREEN'] = '34 139 34';
        $this->name_to_rgb['OLIVE DRAB'] = '107 142 35';
        $this->name_to_rgb['OLIVEDRAB'] = '107 142 35';
        $this->name_to_rgb['DARK KHAKI'] = '189 183 107';
        $this->name_to_rgb['DARKKHAKI'] = '189 183 107';
        $this->name_to_rgb['KHAKI'] = '240 230 140';
        $this->name_to_rgb['PALE GOLDENROD'] = '238 232 170';
        $this->name_to_rgb['PALEGOLDENROD'] = '238 232 170';
        $this->name_to_rgb['LIGHT GOLDENROD YELLOW'] = '250 250 210';
        $this->name_to_rgb['LIGHTGOLDENRODYELLOW'] = '250 250 210';
        $this->name_to_rgb['LIGHT YELLOW'] = '255 255 224';
        $this->name_to_rgb['LIGHTYELLOW'] = '255 255 224';
        $this->name_to_rgb['YELLOW'] = '255 255 0';
        $this->name_to_rgb['GOLD'] = '255 215 0';
        $this->name_to_rgb['LIGHT GOLDENROD'] = '238 221 130';
        $this->name_to_rgb['LIGHTGOLDENROD'] = '238 221 130';
        $this->name_to_rgb['GOLDENROD'] = '218 165 32';
        $this->name_to_rgb['DARK GOLDENROD'] = '184 134 11';
        $this->name_to_rgb['DARKGOLDENROD'] = '184 134 11';
        $this->name_to_rgb['ROSY BROWN'] = '188 143 143';
        $this->name_to_rgb['ROSYBROWN'] = '188 143 143';
        $this->name_to_rgb['INDIAN RED'] = '205 92 92';
        $this->name_to_rgb['INDIANRED'] = '205 92 92';
        $this->name_to_rgb['SADDLE BROWN'] = '139 69 19';
        $this->name_to_rgb['SADDLEBROWN'] = '139 69 19';
        $this->name_to_rgb['SIENNA'] = '160 82 45';
        $this->name_to_rgb['PERU'] = '205 133 63';
        $this->name_to_rgb['BURLYWOOD'] = '222 184 135';
        $this->name_to_rgb['BEIGE'] = '245 245 220';
        $this->name_to_rgb['WHEAT'] = '245 222 179';
        $this->name_to_rgb['SANDY BROWN'] = '244 164 96';
        $this->name_to_rgb['SANDYBROWN'] = '244 164 96';
        $this->name_to_rgb['TAN'] = '210 180 140';
        $this->name_to_rgb['CHOCOLATE'] = '210 105 30';
        $this->name_to_rgb['FIREBRICK'] = '178 34 34';
        $this->name_to_rgb['BROWN'] = '165 42 42';
        $this->name_to_rgb['DARK SALMON'] = '233 150 122';
        $this->name_to_rgb['DARKSALMON'] = '233 150 122';
        $this->name_to_rgb['SALMON'] = '250 128 114';
        $this->name_to_rgb['LIGHT SALMON'] = '255 160 122';
        $this->name_to_rgb['LIGHTSALMON'] = '255 160 122';
        $this->name_to_rgb['ORANGE'] = '255 165 0';
        $this->name_to_rgb['DARK ORANGE'] = '255 140 0';
        $this->name_to_rgb['DARKORANGE'] = '255 140 0';
        $this->name_to_rgb['CORAL'] = '255 127 80';
        $this->name_to_rgb['LIGHT CORAL'] = '240 128 128';
        $this->name_to_rgb['LIGHTCORAL'] = '240 128 128';
        $this->name_to_rgb['TOMATO'] = '255 99 71';
        $this->name_to_rgb['ORANGE RED'] = '255 69 0';
        $this->name_to_rgb['ORANGERED'] = '255 69 0';
        $this->name_to_rgb['RED'] = '255 0 0';
        $this->name_to_rgb['HOT PINK'] = '255 105 180';
        $this->name_to_rgb['HOTPINK'] = '255 105 180';
        $this->name_to_rgb['DEEP PINK'] = '255 20 147';
        $this->name_to_rgb['DEEPPINK'] = '255 20 147';
        $this->name_to_rgb['PINK'] = '255 192 203';
        $this->name_to_rgb['LIGHT PINK'] = '255 182 193';
        $this->name_to_rgb['LIGHTPINK'] = '255 182 193';
        $this->name_to_rgb['PALE VIOLET RED'] = '219 112 147';
        $this->name_to_rgb['PALEVIOLETRED'] = '219 112 147';
        $this->name_to_rgb['MAROON'] = '176 48 96';
        $this->name_to_rgb['MEDIUM VIOLET RED'] = '199 21 133';
        $this->name_to_rgb['MEDIUMVIOLETRED'] = '199 21 133';
        $this->name_to_rgb['VIOLET RED'] = '208 32 144';
        $this->name_to_rgb['VIOLETRED'] = '208 32 144';
        $this->name_to_rgb['MAGENTA'] = '255 0 255';
        $this->name_to_rgb['VIOLET'] = '238 130 238';
        $this->name_to_rgb['PLUM'] = '221 160 221';
        $this->name_to_rgb['ORCHID'] = '218 112 214';
        $this->name_to_rgb['MEDIUM ORCHID'] = '186 85 211';
        $this->name_to_rgb['MEDIUMORCHID'] = '186 85 211';
        $this->name_to_rgb['DARK ORCHID'] = '153 50 204';
        $this->name_to_rgb['DARKORCHID'] = '153 50 204';
        $this->name_to_rgb['DARK VIOLET'] = '148 0 211';
        $this->name_to_rgb['DARKVIOLET'] = '148 0 211';
        $this->name_to_rgb['BLUE VIOLET'] = '138 43 226';
        $this->name_to_rgb['BLUEVIOLET'] = '138 43 226';
        $this->name_to_rgb['PURPLE'] = '160 32 240';
        $this->name_to_rgb['MEDIUM PURPLE'] = '147 112 219';
        $this->name_to_rgb['MEDIUMPURPLE'] = '147 112 219';
        $this->name_to_rgb['THISTLE'] = '216 191 216';
        $this->name_to_rgb['SNOW1'] = '255 250 250';
        $this->name_to_rgb['SNOW2'] = '238 233 233';
        $this->name_to_rgb['SNOW3'] = '205 201 201';
        $this->name_to_rgb['SNOW4'] = '139 137 137';
        $this->name_to_rgb['SEASHELL1'] = '255 245 238';
        $this->name_to_rgb['SEASHELL2'] = '238 229 222';
        $this->name_to_rgb['SEASHELL3'] = '205 197 191';
        $this->name_to_rgb['SEASHELL4'] = '139 134 130';
        $this->name_to_rgb['ANTIQUEWHITE1'] = '255 239 219';
        $this->name_to_rgb['ANTIQUEWHITE2'] = '238 223 204';
        $this->name_to_rgb['ANTIQUEWHITE3'] = '205 192 176';
        $this->name_to_rgb['ANTIQUEWHITE4'] = '139 131 120';
        $this->name_to_rgb['BISQUE1'] = '255 228 196';
        $this->name_to_rgb['BISQUE2'] = '238 213 183';
        $this->name_to_rgb['BISQUE3'] = '205 183 158';
        $this->name_to_rgb['BISQUE4'] = '139 125 107';
        $this->name_to_rgb['PEACHPUFF1'] = '255 218 185';
        $this->name_to_rgb['PEACHPUFF2'] = '238 203 173';
        $this->name_to_rgb['PEACHPUFF3'] = '205 175 149';
        $this->name_to_rgb['PEACHPUFF4'] = '139 119 101';
        $this->name_to_rgb['NAVAJOWHITE1'] = '255 222 173';
        $this->name_to_rgb['NAVAJOWHITE2'] = '238 207 161';
        $this->name_to_rgb['NAVAJOWHITE3'] = '205 179 139';
        $this->name_to_rgb['NAVAJOWHITE4'] = '139 121 94';
        $this->name_to_rgb['LEMONCHIFFON1'] = '255 250 205';
        $this->name_to_rgb['LEMONCHIFFON2'] = '238 233 191';
        $this->name_to_rgb['LEMONCHIFFON3'] = '205 201 165';
        $this->name_to_rgb['LEMONCHIFFON4'] = '139 137 112';
        $this->name_to_rgb['CORNSILK1'] = '255 248 220';
        $this->name_to_rgb['CORNSILK2'] = '238 232 205';
        $this->name_to_rgb['CORNSILK3'] = '205 200 177';
        $this->name_to_rgb['CORNSILK4'] = '139 136 120';
        $this->name_to_rgb['IVORY1'] = '255 255 240';
        $this->name_to_rgb['IVORY2'] = '238 238 224';
        $this->name_to_rgb['IVORY3'] = '205 205 193';
        $this->name_to_rgb['IVORY4'] = '139 139 131';
        $this->name_to_rgb['HONEYDEW1'] = '240 255 240';
        $this->name_to_rgb['HONEYDEW2'] = '224 238 224';
        $this->name_to_rgb['HONEYDEW3'] = '193 205 193';
        $this->name_to_rgb['HONEYDEW4'] = '131 139 131';
        $this->name_to_rgb['LAVENDERBLUSH1'] = '255 240 245';
        $this->name_to_rgb['LAVENDERBLUSH2'] = '238 224 229';
        $this->name_to_rgb['LAVENDERBLUSH3'] = '205 193 197';
        $this->name_to_rgb['LAVENDERBLUSH4'] = '139 131 134';
        $this->name_to_rgb['MISTYROSE1'] = '255 228 225';
        $this->name_to_rgb['MISTYROSE2'] = '238 213 210';
        $this->name_to_rgb['MISTYROSE3'] = '205 183 181';
        $this->name_to_rgb['MISTYROSE4'] = '139 125 123';
        $this->name_to_rgb['AZURE1'] = '240 255 255';
        $this->name_to_rgb['AZURE2'] = '224 238 238';
        $this->name_to_rgb['AZURE3'] = '193 205 205';
        $this->name_to_rgb['AZURE4'] = '131 139 139';
        $this->name_to_rgb['SLATEBLUE1'] = '131 111 255';
        $this->name_to_rgb['SLATEBLUE2'] = '122 103 238';
        $this->name_to_rgb['SLATEBLUE3'] = '105 89 205';
        $this->name_to_rgb['SLATEBLUE4'] = '71 60 139';
        $this->name_to_rgb['ROYALBLUE1'] = '72 118 255';
        $this->name_to_rgb['ROYALBLUE2'] = '67 110 238';
        $this->name_to_rgb['ROYALBLUE3'] = '58 95 205';
        $this->name_to_rgb['ROYALBLUE4'] = '39 64 139';
        $this->name_to_rgb['BLUE1'] = '0 0 255';
        $this->name_to_rgb['BLUE2'] = '0 0 238';
        $this->name_to_rgb['BLUE3'] = '0 0 205';
        $this->name_to_rgb['BLUE4'] = '0 0 139';
        $this->name_to_rgb['DODGERBLUE1'] = '30 144 255';
        $this->name_to_rgb['DODGERBLUE2'] = '28 134 238';
        $this->name_to_rgb['DODGERBLUE3'] = '24 116 205';
        $this->name_to_rgb['DODGERBLUE4'] = '16 78 139';
        $this->name_to_rgb['STEELBLUE1'] = '99 184 255';
        $this->name_to_rgb['STEELBLUE2'] = '92 172 238';
        $this->name_to_rgb['STEELBLUE3'] = '79 148 205';
        $this->name_to_rgb['STEELBLUE4'] = '54 100 139';
        $this->name_to_rgb['DEEPSKYBLUE1'] = '0 191 255';
        $this->name_to_rgb['DEEPSKYBLUE2'] = '0 178 238';
        $this->name_to_rgb['DEEPSKYBLUE3'] = '0 154 205';
        $this->name_to_rgb['DEEPSKYBLUE4'] = '0 104 139';
        $this->name_to_rgb['SKYBLUE1'] = '135 206 255';
        $this->name_to_rgb['SKYBLUE2'] = '126 192 238';
        $this->name_to_rgb['SKYBLUE3'] = '108 166 205';
        $this->name_to_rgb['SKYBLUE4'] = '74 112 139';
        $this->name_to_rgb['LIGHTSKYBLUE1'] = '176 226 255';
        $this->name_to_rgb['LIGHTSKYBLUE2'] = '164 211 238';
        $this->name_to_rgb['LIGHTSKYBLUE3'] = '141 182 205';
        $this->name_to_rgb['LIGHTSKYBLUE4'] = '96 123 139';
        $this->name_to_rgb['SLATEGRAY1'] = '198 226 255';
        $this->name_to_rgb['SLATEGRAY2'] = '185 211 238';
        $this->name_to_rgb['SLATEGRAY3'] = '159 182 205';
        $this->name_to_rgb['SLATEGRAY4'] = '108 123 139';
        $this->name_to_rgb['LIGHTSTEELBLUE1'] = '202 225 255';
        $this->name_to_rgb['LIGHTSTEELBLUE2'] = '188 210 238';
        $this->name_to_rgb['LIGHTSTEELBLUE3'] = '162 181 205';
        $this->name_to_rgb['LIGHTSTEELBLUE4'] = '110 123 139';
        $this->name_to_rgb['LIGHTBLUE1'] = '191 239 255';
        $this->name_to_rgb['LIGHTBLUE2'] = '178 223 238';
        $this->name_to_rgb['LIGHTBLUE3'] = '154 192 205';
        $this->name_to_rgb['LIGHTBLUE4'] = '104 131 139';
        $this->name_to_rgb['LIGHTCYAN1'] = '224 255 255';
        $this->name_to_rgb['LIGHTCYAN2'] = '209 238 238';
        $this->name_to_rgb['LIGHTCYAN3'] = '180 205 205';
        $this->name_to_rgb['LIGHTCYAN4'] = '122 139 139';
        $this->name_to_rgb['PALETURQUOISE1'] = '187 255 255';
        $this->name_to_rgb['PALETURQUOISE2'] = '174 238 238';
        $this->name_to_rgb['PALETURQUOISE3'] = '150 205 205';
        $this->name_to_rgb['PALETURQUOISE4'] = '102 139 139';
        $this->name_to_rgb['CADETBLUE1'] = '152 245 255';
        $this->name_to_rgb['CADETBLUE2'] = '142 229 238';
        $this->name_to_rgb['CADETBLUE3'] = '122 197 205';
        $this->name_to_rgb['CADETBLUE4'] = '83 134 139';
        $this->name_to_rgb['TURQUOISE1'] = '0 245 255';
        $this->name_to_rgb['TURQUOISE2'] = '0 229 238';
        $this->name_to_rgb['TURQUOISE3'] = '0 197 205';
        $this->name_to_rgb['TURQUOISE4'] = '0 134 139';
        $this->name_to_rgb['CYAN1'] = '0 255 255';
        $this->name_to_rgb['CYAN2'] = '0 238 238';
        $this->name_to_rgb['CYAN3'] = '0 205 205';
        $this->name_to_rgb['CYAN4'] = '0 139 139';
        $this->name_to_rgb['DARKSLATEGRAY1'] = '151 255 255';
        $this->name_to_rgb['DARKSLATEGRAY2'] = '141 238 238';
        $this->name_to_rgb['DARKSLATEGRAY3'] = '121 205 205';
        $this->name_to_rgb['DARKSLATEGRAY4'] = '82 139 139';
        $this->name_to_rgb['AQUAMARINE1'] = '127 255 212';
        $this->name_to_rgb['AQUAMARINE2'] = '118 238 198';
        $this->name_to_rgb['AQUAMARINE3'] = '102 205 170';
        $this->name_to_rgb['AQUAMARINE4'] = '69 139 116';
        $this->name_to_rgb['DARKSEAGREEN1'] = '193 255 193';
        $this->name_to_rgb['DARKSEAGREEN2'] = '180 238 180';
        $this->name_to_rgb['DARKSEAGREEN3'] = '155 205 155';
        $this->name_to_rgb['DARKSEAGREEN4'] = '105 139 105';
        $this->name_to_rgb['SEAGREEN1'] = '84 255 159';
        $this->name_to_rgb['SEAGREEN2'] = '78 238 148';
        $this->name_to_rgb['SEAGREEN3'] = '67 205 128';
        $this->name_to_rgb['SEAGREEN4'] = '46 139 87';
        $this->name_to_rgb['PALEGREEN1'] = '154 255 154';
        $this->name_to_rgb['PALEGREEN2'] = '144 238 144';
        $this->name_to_rgb['PALEGREEN3'] = '124 205 124';
        $this->name_to_rgb['PALEGREEN4'] = '84 139 84';
        $this->name_to_rgb['SPRINGGREEN1'] = '0 255 127';
        $this->name_to_rgb['SPRINGGREEN2'] = '0 238 118';
        $this->name_to_rgb['SPRINGGREEN3'] = '0 205 102';
        $this->name_to_rgb['SPRINGGREEN4'] = '0 139 69';
        $this->name_to_rgb['GREEN1'] = '0 255 0';
        $this->name_to_rgb['GREEN2'] = '0 238 0';
        $this->name_to_rgb['GREEN3'] = '0 205 0';
        $this->name_to_rgb['GREEN4'] = '0 139 0';
        $this->name_to_rgb['CHARTREUSE1'] = '127 255 0';
        $this->name_to_rgb['CHARTREUSE2'] = '118 238 0';
        $this->name_to_rgb['CHARTREUSE3'] = '102 205 0';
        $this->name_to_rgb['CHARTREUSE4'] = '69 139 0';
        $this->name_to_rgb['OLIVEDRAB1'] = '192 255 62';
        $this->name_to_rgb['OLIVEDRAB2'] = '179 238 58';
        $this->name_to_rgb['OLIVEDRAB3'] = '154 205 50';
        $this->name_to_rgb['OLIVEDRAB4'] = '105 139 34';
        $this->name_to_rgb['DARKOLIVEGREEN1'] = '202 255 112';
        $this->name_to_rgb['DARKOLIVEGREEN2'] = '188 238 104';
        $this->name_to_rgb['DARKOLIVEGREEN3'] = '162 205 90';
        $this->name_to_rgb['DARKOLIVEGREEN4'] = '110 139 61';
        $this->name_to_rgb['KHAKI1'] = '255 246 143';
        $this->name_to_rgb['KHAKI2'] = '238 230 133';
        $this->name_to_rgb['KHAKI3'] = '205 198 115';
        $this->name_to_rgb['KHAKI4'] = '139 134 78';
        $this->name_to_rgb['LIGHTGOLDENROD1'] = '255 236 139';
        $this->name_to_rgb['LIGHTGOLDENROD2'] = '238 220 130';
        $this->name_to_rgb['LIGHTGOLDENROD3'] = '205 190 112';
        $this->name_to_rgb['LIGHTGOLDENROD4'] = '139 129 76';
        $this->name_to_rgb['LIGHTYELLOW1'] = '255 255 224';
        $this->name_to_rgb['LIGHTYELLOW2'] = '238 238 209';
        $this->name_to_rgb['LIGHTYELLOW3'] = '205 205 180';
        $this->name_to_rgb['LIGHTYELLOW4'] = '139 139 122';
        $this->name_to_rgb['YELLOW1'] = '255 255 0';
        $this->name_to_rgb['YELLOW2'] = '238 238 0';
        $this->name_to_rgb['YELLOW3'] = '205 205 0';
        $this->name_to_rgb['YELLOW4'] = '139 139 0';
        $this->name_to_rgb['GOLD1'] = '255 215 0';
        $this->name_to_rgb['GOLD2'] = '238 201 0';
        $this->name_to_rgb['GOLD3'] = '205 173 0';
        $this->name_to_rgb['GOLD4'] = '139 117 0';
        $this->name_to_rgb['GOLDENROD1'] = '255 193 37';
        $this->name_to_rgb['GOLDENROD2'] = '238 180 34';
        $this->name_to_rgb['GOLDENROD3'] = '205 155 29';
        $this->name_to_rgb['GOLDENROD4'] = '139 105 20';
        $this->name_to_rgb['DARKGOLDENROD1'] = '255 185 15';
        $this->name_to_rgb['DARKGOLDENROD2'] = '238 173 14';
        $this->name_to_rgb['DARKGOLDENROD3'] = '205 149 12';
        $this->name_to_rgb['DARKGOLDENROD4'] = '139 101 8';
        $this->name_to_rgb['ROSYBROWN1'] = '255 193 193';
        $this->name_to_rgb['ROSYBROWN2'] = '238 180 180';
        $this->name_to_rgb['ROSYBROWN3'] = '205 155 155';
        $this->name_to_rgb['ROSYBROWN4'] = '139 105 105';
        $this->name_to_rgb['INDIANRED1'] = '255 106 106';
        $this->name_to_rgb['INDIANRED2'] = '238 99 99';
        $this->name_to_rgb['INDIANRED3'] = '205 85 85';
        $this->name_to_rgb['INDIANRED4'] = '139 58 58';
        $this->name_to_rgb['SIENNA1'] = '255 130 71';
        $this->name_to_rgb['SIENNA2'] = '238 121 66';
        $this->name_to_rgb['SIENNA3'] = '205 104 57';
        $this->name_to_rgb['SIENNA4'] = '139 71 38';
        $this->name_to_rgb['BURLYWOOD1'] = '255 211 155';
        $this->name_to_rgb['BURLYWOOD2'] = '238 197 145';
        $this->name_to_rgb['BURLYWOOD3'] = '205 170 125';
        $this->name_to_rgb['BURLYWOOD4'] = '139 115 85';
        $this->name_to_rgb['WHEAT1'] = '255 231 186';
        $this->name_to_rgb['WHEAT2'] = '238 216 174';
        $this->name_to_rgb['WHEAT3'] = '205 186 150';
        $this->name_to_rgb['WHEAT4'] = '139 126 102';
        $this->name_to_rgb['TAN1'] = '255 165 79';
        $this->name_to_rgb['TAN2'] = '238 154 73';
        $this->name_to_rgb['TAN3'] = '205 133 63';
        $this->name_to_rgb['TAN4'] = '139 90 43';
        $this->name_to_rgb['CHOCOLATE1'] = '255 127 36';
        $this->name_to_rgb['CHOCOLATE2'] = '238 118 33';
        $this->name_to_rgb['CHOCOLATE3'] = '205 102 29';
        $this->name_to_rgb['CHOCOLATE4'] = '139 69 19';
        $this->name_to_rgb['FIREBRICK1'] = '255 48 48';
        $this->name_to_rgb['FIREBRICK2'] = '238 44 44';
        $this->name_to_rgb['FIREBRICK3'] = '205 38 38';
        $this->name_to_rgb['FIREBRICK4'] = '139 26 26';
        $this->name_to_rgb['BROWN1'] = '255 64 64';
        $this->name_to_rgb['BROWN2'] = '238 59 59';
        $this->name_to_rgb['BROWN3'] = '205 51 51';
        $this->name_to_rgb['BROWN4'] = '139 35 35';
        $this->name_to_rgb['SALMON1'] = '255 140 105';
        $this->name_to_rgb['SALMON2'] = '238 130 98';
        $this->name_to_rgb['SALMON3'] = '205 112 84';
        $this->name_to_rgb['SALMON4'] = '139 76 57';
        $this->name_to_rgb['LIGHTSALMON1'] = '255 160 122';
        $this->name_to_rgb['LIGHTSALMON2'] = '238 149 114';
        $this->name_to_rgb['LIGHTSALMON3'] = '205 129 98';
        $this->name_to_rgb['LIGHTSALMON4'] = '139 87 66';
        $this->name_to_rgb['ORANGE1'] = '255 165 0';
        $this->name_to_rgb['ORANGE2'] = '238 154 0';
        $this->name_to_rgb['ORANGE3'] = '205 133 0';
        $this->name_to_rgb['ORANGE4'] = '139 90 0';
        $this->name_to_rgb['DARKORANGE1'] = '255 127 0';
        $this->name_to_rgb['DARKORANGE2'] = '238 118 0';
        $this->name_to_rgb['DARKORANGE3'] = '205 102 0';
        $this->name_to_rgb['DARKORANGE4'] = '139 69 0';
        $this->name_to_rgb['CORAL1'] = '255 114 86';
        $this->name_to_rgb['CORAL2'] = '238 106 80';
        $this->name_to_rgb['CORAL3'] = '205 91 69';
        $this->name_to_rgb['CORAL4'] = '139 62 47';
        $this->name_to_rgb['TOMATO1'] = '255 99 71';
        $this->name_to_rgb['TOMATO2'] = '238 92 66';
        $this->name_to_rgb['TOMATO3'] = '205 79 57';
        $this->name_to_rgb['TOMATO4'] = '139 54 38';
        $this->name_to_rgb['ORANGERED1'] = '255 69 0';
        $this->name_to_rgb['ORANGERED2'] = '238 64 0';
        $this->name_to_rgb['ORANGERED3'] = '205 55 0';
        $this->name_to_rgb['ORANGERED4'] = '139 37 0';
        $this->name_to_rgb['RED1'] = '255 0 0';
        $this->name_to_rgb['RED2'] = '238 0 0';
        $this->name_to_rgb['RED3'] = '205 0 0';
        $this->name_to_rgb['RED4'] = '139 0 0';
        $this->name_to_rgb['DEEPPINK1'] = '255 20 147';
        $this->name_to_rgb['DEEPPINK2'] = '238 18 137';
        $this->name_to_rgb['DEEPPINK3'] = '205 16 118';
        $this->name_to_rgb['DEEPPINK4'] = '139 10 80';
        $this->name_to_rgb['HOTPINK1'] = '255 110 180';
        $this->name_to_rgb['HOTPINK2'] = '238 106 167';
        $this->name_to_rgb['HOTPINK3'] = '205 96 144';
        $this->name_to_rgb['HOTPINK4'] = '139 58 98';
        $this->name_to_rgb['PINK1'] = '255 181 197';
        $this->name_to_rgb['PINK2'] = '238 169 184';
        $this->name_to_rgb['PINK3'] = '205 145 158';
        $this->name_to_rgb['PINK4'] = '139 99 108';
        $this->name_to_rgb['LIGHTPINK1'] = '255 174 185';
        $this->name_to_rgb['LIGHTPINK2'] = '238 162 173';
        $this->name_to_rgb['LIGHTPINK3'] = '205 140 149';
        $this->name_to_rgb['LIGHTPINK4'] = '139 95 101';
        $this->name_to_rgb['PALEVIOLETRED1'] = '255 130 171';
        $this->name_to_rgb['PALEVIOLETRED2'] = '238 121 159';
        $this->name_to_rgb['PALEVIOLETRED3'] = '205 104 137';
        $this->name_to_rgb['PALEVIOLETRED4'] = '139 71 93';
        $this->name_to_rgb['MAROON1'] = '255 52 179';
        $this->name_to_rgb['MAROON2'] = '238 48 167';
        $this->name_to_rgb['MAROON3'] = '205 41 144';
        $this->name_to_rgb['MAROON4'] = '139 28 98';
        $this->name_to_rgb['VIOLETRED1'] = '255 62 150';
        $this->name_to_rgb['VIOLETRED2'] = '238 58 140';
        $this->name_to_rgb['VIOLETRED3'] = '205 50 120';
        $this->name_to_rgb['VIOLETRED4'] = '139 34 82';
        $this->name_to_rgb['MAGENTA1'] = '255 0 255';
        $this->name_to_rgb['MAGENTA2'] = '238 0 238';
        $this->name_to_rgb['MAGENTA3'] = '205 0 205';
        $this->name_to_rgb['MAGENTA4'] = '139 0 139';
        $this->name_to_rgb['ORCHID1'] = '255 131 250';
        $this->name_to_rgb['ORCHID2'] = '238 122 233';
        $this->name_to_rgb['ORCHID3'] = '205 105 201';
        $this->name_to_rgb['ORCHID4'] = '139 71 137';
        $this->name_to_rgb['PLUM1'] = '255 187 255';
        $this->name_to_rgb['PLUM2'] = '238 174 238';
        $this->name_to_rgb['PLUM3'] = '205 150 205';
        $this->name_to_rgb['PLUM4'] = '139 102 139';
        $this->name_to_rgb['MEDIUMORCHID1'] = '224 102 255';
        $this->name_to_rgb['MEDIUMORCHID2'] = '209 95 238';
        $this->name_to_rgb['MEDIUMORCHID3'] = '180 82 205';
        $this->name_to_rgb['MEDIUMORCHID4'] = '122 55 139';
        $this->name_to_rgb['DARKORCHID1'] = '191 62 255';
        $this->name_to_rgb['DARKORCHID2'] = '178 58 238';
        $this->name_to_rgb['DARKORCHID3'] = '154 50 205';
        $this->name_to_rgb['DARKORCHID4'] = '104 34 139';
        $this->name_to_rgb['PURPLE1'] = '155 48 255';
        $this->name_to_rgb['PURPLE2'] = '145 44 238';
        $this->name_to_rgb['PURPLE3'] = '125 38 205';
        $this->name_to_rgb['PURPLE4'] = '85 26 139';
        $this->name_to_rgb['MEDIUMPURPLE1'] = '171 130 255';
        $this->name_to_rgb['MEDIUMPURPLE2'] = '159 121 238';
        $this->name_to_rgb['MEDIUMPURPLE3'] = '137 104 205';
        $this->name_to_rgb['MEDIUMPURPLE4'] = '93 71 139';
        $this->name_to_rgb['THISTLE1'] = '255 225 255';
        $this->name_to_rgb['THISTLE2'] = '238 210 238';
        $this->name_to_rgb['THISTLE3'] = '205 181 205';
        $this->name_to_rgb['THISTLE4'] = '139 123 139';
        $this->name_to_rgb['GRAY0'] = '0 0 0';
        $this->name_to_rgb['GREY0'] = '0 0 0';
        $this->name_to_rgb['GRAY1'] = '3 3 3';
        $this->name_to_rgb['GREY1'] = '3 3 3';
        $this->name_to_rgb['GRAY2'] = '5 5 5';
        $this->name_to_rgb['GREY2'] = '5 5 5';
        $this->name_to_rgb['GRAY3'] = '8 8 8';
        $this->name_to_rgb['GREY3'] = '8 8 8';
        $this->name_to_rgb['GRAY4'] = '10 10 10';
        $this->name_to_rgb['GREY4'] = '10 10 10';
        $this->name_to_rgb['GRAY5'] = '13 13 13';
        $this->name_to_rgb['GREY5'] = '13 13 13';
        $this->name_to_rgb['GRAY6'] = '15 15 15';
        $this->name_to_rgb['GREY6'] = '15 15 15';
        $this->name_to_rgb['GRAY7'] = '18 18 18';
        $this->name_to_rgb['GREY7'] = '18 18 18';
        $this->name_to_rgb['GRAY8'] = '20 20 20';
        $this->name_to_rgb['GREY8'] = '20 20 20';
        $this->name_to_rgb['GRAY9'] = '23 23 23';
        $this->name_to_rgb['GREY9'] = '23 23 23';
        $this->name_to_rgb['GRAY10'] = '26 26 26';
        $this->name_to_rgb['GREY10'] = '26 26 26';
        $this->name_to_rgb['GRAY11'] = '28 28 28';
        $this->name_to_rgb['GREY11'] = '28 28 28';
        $this->name_to_rgb['GRAY12'] = '31 31 31';
        $this->name_to_rgb['GREY12'] = '31 31 31';
        $this->name_to_rgb['GRAY13'] = '33 33 33';
        $this->name_to_rgb['GREY13'] = '33 33 33';
        $this->name_to_rgb['GRAY14'] = '36 36 36';
        $this->name_to_rgb['GREY14'] = '36 36 36';
        $this->name_to_rgb['GRAY15'] = '38 38 38';
        $this->name_to_rgb['GREY15'] = '38 38 38';
        $this->name_to_rgb['GRAY16'] = '41 41 41';
        $this->name_to_rgb['GREY16'] = '41 41 41';
        $this->name_to_rgb['GRAY17'] = '43 43 43';
        $this->name_to_rgb['GREY17'] = '43 43 43';
        $this->name_to_rgb['GRAY18'] = '46 46 46';
        $this->name_to_rgb['GREY18'] = '46 46 46';
        $this->name_to_rgb['GRAY19'] = '48 48 48';
        $this->name_to_rgb['GREY19'] = '48 48 48';
        $this->name_to_rgb['GRAY20'] = '51 51 51';
        $this->name_to_rgb['GREY20'] = '51 51 51';
        $this->name_to_rgb['GRAY21'] = '54 54 54';
        $this->name_to_rgb['GREY21'] = '54 54 54';
        $this->name_to_rgb['GRAY22'] = '56 56 56';
        $this->name_to_rgb['GREY22'] = '56 56 56';
        $this->name_to_rgb['GRAY23'] = '59 59 59';
        $this->name_to_rgb['GREY23'] = '59 59 59';
        $this->name_to_rgb['GRAY24'] = '61 61 61';
        $this->name_to_rgb['GREY24'] = '61 61 61';
        $this->name_to_rgb['GRAY25'] = '64 64 64';
        $this->name_to_rgb['GREY25'] = '64 64 64';
        $this->name_to_rgb['GRAY26'] = '66 66 66';
        $this->name_to_rgb['GREY26'] = '66 66 66';
        $this->name_to_rgb['GRAY27'] = '69 69 69';
        $this->name_to_rgb['GREY27'] = '69 69 69';
        $this->name_to_rgb['GRAY28'] = '71 71 71';
        $this->name_to_rgb['GREY28'] = '71 71 71';
        $this->name_to_rgb['GRAY29'] = '74 74 74';
        $this->name_to_rgb['GREY29'] = '74 74 74';
        $this->name_to_rgb['GRAY30'] = '77 77 77';
        $this->name_to_rgb['GREY30'] = '77 77 77';
        $this->name_to_rgb['GRAY31'] = '79 79 79';
        $this->name_to_rgb['GREY31'] = '79 79 79';
        $this->name_to_rgb['GRAY32'] = '82 82 82';
        $this->name_to_rgb['GREY32'] = '82 82 82';
        $this->name_to_rgb['GRAY33'] = '84 84 84';
        $this->name_to_rgb['GREY33'] = '84 84 84';
        $this->name_to_rgb['GRAY34'] = '87 87 87';
        $this->name_to_rgb['GREY34'] = '87 87 87';
        $this->name_to_rgb['GRAY35'] = '89 89 89';
        $this->name_to_rgb['GREY35'] = '89 89 89';
        $this->name_to_rgb['GRAY36'] = '92 92 92';
        $this->name_to_rgb['GREY36'] = '92 92 92';
        $this->name_to_rgb['GRAY37'] = '94 94 94';
        $this->name_to_rgb['GREY37'] = '94 94 94';
        $this->name_to_rgb['GRAY38'] = '97 97 97';
        $this->name_to_rgb['GREY38'] = '97 97 97';
        $this->name_to_rgb['GRAY39'] = '99 99 99';
        $this->name_to_rgb['GREY39'] = '99 99 99';
        $this->name_to_rgb['GRAY40'] = '102 102 102';
        $this->name_to_rgb['GREY40'] = '102 102 102';
        $this->name_to_rgb['GRAY41'] = '105 105 105';
        $this->name_to_rgb['GREY41'] = '105 105 105';
        $this->name_to_rgb['GRAY42'] = '107 107 107';
        $this->name_to_rgb['GREY42'] = '107 107 107';
        $this->name_to_rgb['GRAY43'] = '110 110 110';
        $this->name_to_rgb['GREY43'] = '110 110 110';
        $this->name_to_rgb['GRAY44'] = '112 112 112';
        $this->name_to_rgb['GREY44'] = '112 112 112';
        $this->name_to_rgb['GRAY45'] = '115 115 115';
        $this->name_to_rgb['GREY45'] = '115 115 115';
        $this->name_to_rgb['GRAY46'] = '117 117 117';
        $this->name_to_rgb['GREY46'] = '117 117 117';
        $this->name_to_rgb['GRAY47'] = '120 120 120';
        $this->name_to_rgb['GREY47'] = '120 120 120';
        $this->name_to_rgb['GRAY48'] = '122 122 122';
        $this->name_to_rgb['GREY48'] = '122 122 122';
        $this->name_to_rgb['GRAY49'] = '125 125 125';
        $this->name_to_rgb['GREY49'] = '125 125 125';
        $this->name_to_rgb['GRAY50'] = '127 127 127';
        $this->name_to_rgb['GREY50'] = '127 127 127';
        $this->name_to_rgb['GRAY51'] = '130 130 130';
        $this->name_to_rgb['GREY51'] = '130 130 130';
        $this->name_to_rgb['GRAY52'] = '133 133 133';
        $this->name_to_rgb['GREY52'] = '133 133 133';
        $this->name_to_rgb['GRAY53'] = '135 135 135';
        $this->name_to_rgb['GREY53'] = '135 135 135';
        $this->name_to_rgb['GRAY54'] = '138 138 138';
        $this->name_to_rgb['GREY54'] = '138 138 138';
        $this->name_to_rgb['GRAY55'] = '140 140 140';
        $this->name_to_rgb['GREY55'] = '140 140 140';
        $this->name_to_rgb['GRAY56'] = '143 143 143';
        $this->name_to_rgb['GREY56'] = '143 143 143';
        $this->name_to_rgb['GRAY57'] = '145 145 145';
        $this->name_to_rgb['GREY57'] = '145 145 145';
        $this->name_to_rgb['GRAY58'] = '148 148 148';
        $this->name_to_rgb['GREY58'] = '148 148 148';
        $this->name_to_rgb['GRAY59'] = '150 150 150';
        $this->name_to_rgb['GREY59'] = '150 150 150';
        $this->name_to_rgb['GRAY60'] = '153 153 153';
        $this->name_to_rgb['GREY60'] = '153 153 153';
        $this->name_to_rgb['GRAY61'] = '156 156 156';
        $this->name_to_rgb['GREY61'] = '156 156 156';
        $this->name_to_rgb['GRAY62'] = '158 158 158';
        $this->name_to_rgb['GREY62'] = '158 158 158';
        $this->name_to_rgb['GRAY63'] = '161 161 161';
        $this->name_to_rgb['GREY63'] = '161 161 161';
        $this->name_to_rgb['GRAY64'] = '163 163 163';
        $this->name_to_rgb['GREY64'] = '163 163 163';
        $this->name_to_rgb['GRAY65'] = '166 166 166';
        $this->name_to_rgb['GREY65'] = '166 166 166';
        $this->name_to_rgb['GRAY66'] = '168 168 168';
        $this->name_to_rgb['GREY66'] = '168 168 168';
        $this->name_to_rgb['GRAY67'] = '171 171 171';
        $this->name_to_rgb['GREY67'] = '171 171 171';
        $this->name_to_rgb['GRAY68'] = '173 173 173';
        $this->name_to_rgb['GREY68'] = '173 173 173';
        $this->name_to_rgb['GRAY69'] = '176 176 176';
        $this->name_to_rgb['GREY69'] = '176 176 176';
        $this->name_to_rgb['GRAY70'] = '179 179 179';
        $this->name_to_rgb['GREY70'] = '179 179 179';
        $this->name_to_rgb['GRAY71'] = '181 181 181';
        $this->name_to_rgb['GREY71'] = '181 181 181';
        $this->name_to_rgb['GRAY72'] = '184 184 184';
        $this->name_to_rgb['GREY72'] = '184 184 184';
        $this->name_to_rgb['GRAY73'] = '186 186 186';
        $this->name_to_rgb['GREY73'] = '186 186 186';
        $this->name_to_rgb['GRAY74'] = '189 189 189';
        $this->name_to_rgb['GREY74'] = '189 189 189';
        $this->name_to_rgb['GRAY75'] = '191 191 191';
        $this->name_to_rgb['GREY75'] = '191 191 191';
        $this->name_to_rgb['GRAY76'] = '194 194 194';
        $this->name_to_rgb['GREY76'] = '194 194 194';
        $this->name_to_rgb['GRAY77'] = '196 196 196';
        $this->name_to_rgb['GREY77'] = '196 196 196';
        $this->name_to_rgb['GRAY78'] = '199 199 199';
        $this->name_to_rgb['GREY78'] = '199 199 199';
        $this->name_to_rgb['GRAY79'] = '201 201 201';
        $this->name_to_rgb['GREY79'] = '201 201 201';
        $this->name_to_rgb['GRAY80'] = '204 204 204';
        $this->name_to_rgb['GREY80'] = '204 204 204';
        $this->name_to_rgb['GRAY81'] = '207 207 207';
        $this->name_to_rgb['GREY81'] = '207 207 207';
        $this->name_to_rgb['GRAY82'] = '209 209 209';
        $this->name_to_rgb['GREY82'] = '209 209 209';
        $this->name_to_rgb['GRAY83'] = '212 212 212';
        $this->name_to_rgb['GREY83'] = '212 212 212';
        $this->name_to_rgb['GRAY84'] = '214 214 214';
        $this->name_to_rgb['GREY84'] = '214 214 214';
        $this->name_to_rgb['GRAY85'] = '217 217 217';
        $this->name_to_rgb['GREY85'] = '217 217 217';
        $this->name_to_rgb['GRAY86'] = '219 219 219';
        $this->name_to_rgb['GREY86'] = '219 219 219';
        $this->name_to_rgb['GRAY87'] = '222 222 222';
        $this->name_to_rgb['GREY87'] = '222 222 222';
        $this->name_to_rgb['GRAY88'] = '224 224 224';
        $this->name_to_rgb['GREY88'] = '224 224 224';
        $this->name_to_rgb['GRAY89'] = '227 227 227';
        $this->name_to_rgb['GREY89'] = '227 227 227';
        $this->name_to_rgb['GRAY90'] = '229 229 229';
        $this->name_to_rgb['GREY90'] = '229 229 229';
        $this->name_to_rgb['GRAY91'] = '232 232 232';
        $this->name_to_rgb['GREY91'] = '232 232 232';
        $this->name_to_rgb['GRAY92'] = '235 235 235';
        $this->name_to_rgb['GREY92'] = '235 235 235';
        $this->name_to_rgb['GRAY93'] = '237 237 237';
        $this->name_to_rgb['GREY93'] = '237 237 237';
        $this->name_to_rgb['GRAY94'] = '240 240 240';
        $this->name_to_rgb['GREY94'] = '240 240 240';
        $this->name_to_rgb['GRAY95'] = '242 242 242';
        $this->name_to_rgb['GREY95'] = '242 242 242';
        $this->name_to_rgb['GRAY96'] = '245 245 245';
        $this->name_to_rgb['GREY96'] = '245 245 245';
        $this->name_to_rgb['GRAY97'] = '247 247 247';
        $this->name_to_rgb['GREY97'] = '247 247 247';
        $this->name_to_rgb['GRAY98'] = '250 250 250';
        $this->name_to_rgb['GREY98'] = '250 250 250';
        $this->name_to_rgb['GRAY99'] = '252 252 252';
        $this->name_to_rgb['GREY99'] = '252 252 252';
        $this->name_to_rgb['GRAY100'] = '255 255 255';
        $this->name_to_rgb['GREY100'] = '255 255 255';
        // ----------------------
        $this->rgb_to_name['255 250 250'] = 'SNOW';
        $this->rgb_to_name['248 248 255'] = 'GHOST WHITE';
        $this->rgb_to_name['248 248 255'] = 'GHOSTWHITE';
        $this->rgb_to_name['245 245 245'] = 'WHITE SMOKE';
        $this->rgb_to_name['245 245 245'] = 'WHITESMOKE';
        $this->rgb_to_name['220 220 220'] = 'GAINSBORO';
        $this->rgb_to_name['255 250 240'] = 'FLORAL WHITE';
        $this->rgb_to_name['255 250 240'] = 'FLORALWHITE';
        $this->rgb_to_name['253 245 230'] = 'OLD LACE';
        $this->rgb_to_name['253 245 230'] = 'OLDLACE';
        $this->rgb_to_name['250 240 230'] = 'LINEN';
        $this->rgb_to_name['250 235 215'] = 'ANTIQUE WHITE';
        $this->rgb_to_name['250 235 215'] = 'ANTIQUEWHITE';
        $this->rgb_to_name['255 239 213'] = 'PAPAYA WHIP';
        $this->rgb_to_name['255 239 213'] = 'PAPAYAWHIP';
        $this->rgb_to_name['255 235 205'] = 'BLANCHED ALMOND';
        $this->rgb_to_name['255 235 205'] = 'BLANCHEDALMOND';
        $this->rgb_to_name['255 228 196'] = 'BISQUE';
        $this->rgb_to_name['255 218 185'] = 'PEACH PUFF';
        $this->rgb_to_name['255 218 185'] = 'PEACHPUFF';
        $this->rgb_to_name['255 222 173'] = 'NAVAJO WHITE';
        $this->rgb_to_name['255 222 173'] = 'NAVAJOWHITE';
        $this->rgb_to_name['255 228 181'] = 'MOCCASIN';
        $this->rgb_to_name['255 248 220'] = 'CORNSILK';
        $this->rgb_to_name['255 255 240'] = 'IVORY';
        $this->rgb_to_name['255 250 205'] = 'LEMON CHIFFON';
        $this->rgb_to_name['255 250 205'] = 'LEMONCHIFFON';
        $this->rgb_to_name['255 245 238'] = 'SEASHELL';
        $this->rgb_to_name['240 255 240'] = 'HONEYDEW';
        $this->rgb_to_name['245 255 250'] = 'MINT CREAM';
        $this->rgb_to_name['245 255 250'] = 'MINTCREAM';
        $this->rgb_to_name['240 255 255'] = 'AZURE';
        $this->rgb_to_name['240 248 255'] = 'ALICE BLUE';
        $this->rgb_to_name['240 248 255'] = 'ALICEBLUE';
        $this->rgb_to_name['230 230 250'] = 'LAVENDER';
        $this->rgb_to_name['255 240 245'] = 'LAVENDER BLUSH';
        $this->rgb_to_name['255 240 245'] = 'LAVENDERBLUSH';
        $this->rgb_to_name['255 228 225'] = 'MISTY ROSE';
        $this->rgb_to_name['255 228 225'] = 'MISTYROSE';
        $this->rgb_to_name['255 255 255'] = 'WHITE';
        $this->rgb_to_name['0 0 0'] = 'BLACK';
        $this->rgb_to_name['47 79 79'] = 'DARK SLATE GRAY';
        $this->rgb_to_name['47 79 79'] = 'DARKSLATEGRAY';
        $this->rgb_to_name['47 79 79'] = 'DARK SLATE GREY';
        $this->rgb_to_name['47 79 79'] = 'DARKSLATEGREY';
        $this->rgb_to_name['105 105 105'] = 'DIM GRAY';
        $this->rgb_to_name['105 105 105'] = 'DIMGRAY';
        $this->rgb_to_name['105 105 105'] = 'DIM GREY';
        $this->rgb_to_name['105 105 105'] = 'DIMGREY';
        $this->rgb_to_name['112 128 144'] = 'SLATE GRAY';
        $this->rgb_to_name['112 128 144'] = 'SLATEGRAY';
        $this->rgb_to_name['112 128 144'] = 'SLATE GREY';
        $this->rgb_to_name['112 128 144'] = 'SLATEGREY';
        $this->rgb_to_name['119 136 153'] = 'LIGHT SLATE GRAY';
        $this->rgb_to_name['119 136 153'] = 'LIGHTSLATEGRAY';
        $this->rgb_to_name['119 136 153'] = 'LIGHT SLATE GREY';
        $this->rgb_to_name['119 136 153'] = 'LIGHTSLATEGREY';
        $this->rgb_to_name['190 190 190'] = 'GRAY';
        $this->rgb_to_name['190 190 190'] = 'GREY';
        $this->rgb_to_name['211 211 211'] = 'LIGHT GREY';
        $this->rgb_to_name['211 211 211'] = 'LIGHTGREY';
        $this->rgb_to_name['211 211 211'] = 'LIGHT GRAY';
        $this->rgb_to_name['211 211 211'] = 'LIGHTGRAY';
        $this->rgb_to_name['25 25 112'] = 'MIDNIGHT BLUE';
        $this->rgb_to_name['25 25 112'] = 'MIDNIGHTBLUE';
        $this->rgb_to_name['0 0 128'] = 'NAVY';
        $this->rgb_to_name['0 0 128'] = 'NAVY BLUE';
        $this->rgb_to_name['0 0 128'] = 'NAVYBLUE';
        $this->rgb_to_name['100 149 237'] = 'CORNFLOWER BLUE';
        $this->rgb_to_name['100 149 237'] = 'CORNFLOWERBLUE';
        $this->rgb_to_name['72 61 139'] = 'DARK SLATE BLUE';
        $this->rgb_to_name['72 61 139'] = 'DARKSLATEBLUE';
        $this->rgb_to_name['106 90 205'] = 'SLATE BLUE';
        $this->rgb_to_name['106 90 205'] = 'SLATEBLUE';
        $this->rgb_to_name['123 104 238'] = 'MEDIUM SLATE BLUE';
        $this->rgb_to_name['123 104 238'] = 'MEDIUMSLATEBLUE';
        $this->rgb_to_name['132 112 255'] = 'LIGHT SLATE BLUE';
        $this->rgb_to_name['132 112 255'] = 'LIGHTSLATEBLUE';
        $this->rgb_to_name['0 0 205'] = 'MEDIUM BLUE';
        $this->rgb_to_name['0 0 205'] = 'MEDIUMBLUE';
        $this->rgb_to_name['65 105 225'] = 'ROYAL BLUE';
        $this->rgb_to_name['65 105 225'] = 'ROYALBLUE';
        $this->rgb_to_name['0 0 255'] = 'BLUE';
        $this->rgb_to_name['30 144 255'] = 'DODGER BLUE';
        $this->rgb_to_name['30 144 255'] = 'DODGERBLUE';
        $this->rgb_to_name['0 191 255'] = 'DEEP SKY BLUE';
        $this->rgb_to_name['0 191 255'] = 'DEEPSKYBLUE';
        $this->rgb_to_name['135 206 235'] = 'SKY BLUE';
        $this->rgb_to_name['135 206 235'] = 'SKYBLUE';
        $this->rgb_to_name['135 206 250'] = 'LIGHT SKY BLUE';
        $this->rgb_to_name['135 206 250'] = 'LIGHTSKYBLUE';
        $this->rgb_to_name['70 130 180'] = 'STEEL BLUE';
        $this->rgb_to_name['70 130 180'] = 'STEELBLUE';
        $this->rgb_to_name['176 196 222'] = 'LIGHT STEEL BLUE';
        $this->rgb_to_name['176 196 222'] = 'LIGHTSTEELBLUE';
        $this->rgb_to_name['173 216 230'] = 'LIGHT BLUE';
        $this->rgb_to_name['173 216 230'] = 'LIGHTBLUE';
        $this->rgb_to_name['176 224 230'] = 'POWDER BLUE';
        $this->rgb_to_name['176 224 230'] = 'POWDERBLUE';
        $this->rgb_to_name['175 238 238'] = 'PALE TURQUOISE';
        $this->rgb_to_name['175 238 238'] = 'PALETURQUOISE';
        $this->rgb_to_name['0 206 209'] = 'DARK TURQUOISE';
        $this->rgb_to_name['0 206 209'] = 'DARKTURQUOISE';
        $this->rgb_to_name['72 209 204'] = 'MEDIUM TURQUOISE';
        $this->rgb_to_name['72 209 204'] = 'MEDIUMTURQUOISE';
        $this->rgb_to_name['64 224 208'] = 'TURQUOISE';
        $this->rgb_to_name['0 255 255'] = 'CYAN';
        $this->rgb_to_name['224 255 255'] = 'LIGHT CYAN';
        $this->rgb_to_name['224 255 255'] = 'LIGHTCYAN';
        $this->rgb_to_name['95 158 160'] = 'CADET BLUE';
        $this->rgb_to_name['95 158 160'] = 'CADETBLUE';
        $this->rgb_to_name['102 205 170'] = 'MEDIUM AQUAMARINE';
        $this->rgb_to_name['102 205 170'] = 'MEDIUMAQUAMARINE';
        $this->rgb_to_name['127 255 212'] = 'AQUAMARINE';
        $this->rgb_to_name['0 100 0'] = 'DARK GREEN';
        $this->rgb_to_name['0 100 0'] = 'DARKGREEN';
        $this->rgb_to_name['85 107 47'] = 'DARK OLIVE GREEN';
        $this->rgb_to_name['85 107 47'] = 'DARKOLIVEGREEN';
        $this->rgb_to_name['143 188 143'] = 'DARK SEA GREEN';
        $this->rgb_to_name['143 188 143'] = 'DARKSEAGREEN';
        $this->rgb_to_name['46 139 87'] = 'SEA GREEN';
        $this->rgb_to_name['46 139 87'] = 'SEAGREEN';
        $this->rgb_to_name['60 179 113'] = 'MEDIUM SEA GREEN';
        $this->rgb_to_name['60 179 113'] = 'MEDIUMSEAGREEN';
        $this->rgb_to_name['32 178 170'] = 'LIGHT SEA GREEN';
        $this->rgb_to_name['32 178 170'] = 'LIGHTSEAGREEN';
        $this->rgb_to_name['152 251 152'] = 'PALE GREEN';
        $this->rgb_to_name['152 251 152'] = 'PALEGREEN';
        $this->rgb_to_name['0 255 127'] = 'SPRING GREEN';
        $this->rgb_to_name['0 255 127'] = 'SPRINGGREEN';
        $this->rgb_to_name['124 252 0'] = 'LAWN GREEN';
        $this->rgb_to_name['124 252 0'] = 'LAWNGREEN';
        $this->rgb_to_name['0 255 0'] = 'GREEN';
        $this->rgb_to_name['127 255 0'] = 'CHARTREUSE';
        $this->rgb_to_name['0 250 154'] = 'MEDIUM SPRING GREEN';
        $this->rgb_to_name['0 250 154'] = 'MEDIUMSPRINGGREEN';
        $this->rgb_to_name['173 255 47'] = 'GREEN YELLOW';
        $this->rgb_to_name['173 255 47'] = 'GREENYELLOW';
        $this->rgb_to_name['50 205 50'] = 'LIME GREEN';
        $this->rgb_to_name['50 205 50'] = 'LIMEGREEN';
        $this->rgb_to_name['154 205 50'] = 'YELLOW GREEN';
        $this->rgb_to_name['154 205 50'] = 'YELLOWGREEN';
        $this->rgb_to_name['34 139 34'] = 'FOREST GREEN';
        $this->rgb_to_name['34 139 34'] = 'FORESTGREEN';
        $this->rgb_to_name['107 142 35'] = 'OLIVE DRAB';
        $this->rgb_to_name['107 142 35'] = 'OLIVEDRAB';
        $this->rgb_to_name['189 183 107'] = 'DARK KHAKI';
        $this->rgb_to_name['189 183 107'] = 'DARKKHAKI';
        $this->rgb_to_name['240 230 140'] = 'KHAKI';
        $this->rgb_to_name['238 232 170'] = 'PALE GOLDENROD';
        $this->rgb_to_name['238 232 170'] = 'PALEGOLDENROD';
        $this->rgb_to_name['250 250 210'] = 'LIGHT GOLDENROD YELLOW';
        $this->rgb_to_name['250 250 210'] = 'LIGHTGOLDENRODYELLOW';
        $this->rgb_to_name['255 255 224'] = 'LIGHT YELLOW';
        $this->rgb_to_name['255 255 224'] = 'LIGHTYELLOW';
        $this->rgb_to_name['255 255 0'] = 'YELLOW';
        $this->rgb_to_name['255 215 0'] = 'GOLD';
        $this->rgb_to_name['238 221 130'] = 'LIGHT GOLDENROD';
        $this->rgb_to_name['238 221 130'] = 'LIGHTGOLDENROD';
        $this->rgb_to_name['218 165 32'] = 'GOLDENROD';
        $this->rgb_to_name['184 134 11'] = 'DARK GOLDENROD';
        $this->rgb_to_name['184 134 11'] = 'DARKGOLDENROD';
        $this->rgb_to_name['188 143 143'] = 'ROSY BROWN';
        $this->rgb_to_name['188 143 143'] = 'ROSYBROWN';
        $this->rgb_to_name['205 92 92'] = 'INDIAN RED';
        $this->rgb_to_name['205 92 92'] = 'INDIANRED';
        $this->rgb_to_name['139 69 19'] = 'SADDLE BROWN';
        $this->rgb_to_name['139 69 19'] = 'SADDLEBROWN';
        $this->rgb_to_name['160 82 45'] = 'SIENNA';
        $this->rgb_to_name['205 133 63'] = 'PERU';
        $this->rgb_to_name['222 184 135'] = 'BURLYWOOD';
        $this->rgb_to_name['245 245 220'] = 'BEIGE';
        $this->rgb_to_name['245 222 179'] = 'WHEAT';
        $this->rgb_to_name['244 164 96'] = 'SANDY BROWN';
        $this->rgb_to_name['244 164 96'] = 'SANDYBROWN';
        $this->rgb_to_name['210 180 140'] = 'TAN';
        $this->rgb_to_name['210 105 30'] = 'CHOCOLATE';
        $this->rgb_to_name['178 34 34'] = 'FIREBRICK';
        $this->rgb_to_name['165 42 42'] = 'BROWN';
        $this->rgb_to_name['233 150 122'] = 'DARK SALMON';
        $this->rgb_to_name['233 150 122'] = 'DARKSALMON';
        $this->rgb_to_name['250 128 114'] = 'SALMON';
        $this->rgb_to_name['255 160 122'] = 'LIGHT SALMON';
        $this->rgb_to_name['255 160 122'] = 'LIGHTSALMON';
        $this->rgb_to_name['255 165 0'] = 'ORANGE';
        $this->rgb_to_name['255 140 0'] = 'DARK ORANGE';
        $this->rgb_to_name['255 140 0'] = 'DARKORANGE';
        $this->rgb_to_name['255 127 80'] = 'CORAL';
        $this->rgb_to_name['240 128 128'] = 'LIGHT CORAL';
        $this->rgb_to_name['240 128 128'] = 'LIGHTCORAL';
        $this->rgb_to_name['255 99 71'] = 'TOMATO';
        $this->rgb_to_name['255 69 0'] = 'ORANGE RED';
        $this->rgb_to_name['255 69 0'] = 'ORANGERED';
        $this->rgb_to_name['255 0 0'] = 'RED';
        $this->rgb_to_name['255 105 180'] = 'HOT PINK';
        $this->rgb_to_name['255 105 180'] = 'HOTPINK';
        $this->rgb_to_name['255 20 147'] = 'DEEP PINK';
        $this->rgb_to_name['255 20 147'] = 'DEEPPINK';
        $this->rgb_to_name['255 192 203'] = 'PINK';
        $this->rgb_to_name['255 182 193'] = 'LIGHT PINK';
        $this->rgb_to_name['255 182 193'] = 'LIGHTPINK';
        $this->rgb_to_name['219 112 147'] = 'PALE VIOLET RED';
        $this->rgb_to_name['219 112 147'] = 'PALEVIOLETRED';
        $this->rgb_to_name['176 48 96'] = 'MAROON';
        $this->rgb_to_name['199 21 133'] = 'MEDIUM VIOLET RED';
        $this->rgb_to_name['199 21 133'] = 'MEDIUMVIOLETRED';
        $this->rgb_to_name['208 32 144'] = 'VIOLET RED';
        $this->rgb_to_name['208 32 144'] = 'VIOLETRED';
        $this->rgb_to_name['255 0 255'] = 'MAGENTA';
        $this->rgb_to_name['238 130 238'] = 'VIOLET';
        $this->rgb_to_name['221 160 221'] = 'PLUM';
        $this->rgb_to_name['218 112 214'] = 'ORCHID';
        $this->rgb_to_name['186 85 211'] = 'MEDIUM ORCHID';
        $this->rgb_to_name['186 85 211'] = 'MEDIUMORCHID';
        $this->rgb_to_name['153 50 204'] = 'DARK ORCHID';
        $this->rgb_to_name['153 50 204'] = 'DARKORCHID';
        $this->rgb_to_name['148 0 211'] = 'DARK VIOLET';
        $this->rgb_to_name['148 0 211'] = 'DARKVIOLET';
        $this->rgb_to_name['138 43 226'] = 'BLUE VIOLET';
        $this->rgb_to_name['138 43 226'] = 'BLUEVIOLET';
        $this->rgb_to_name['160 32 240'] = 'PURPLE';
        $this->rgb_to_name['147 112 219'] = 'MEDIUM PURPLE';
        $this->rgb_to_name['147 112 219'] = 'MEDIUMPURPLE';
        $this->rgb_to_name['216 191 216'] = 'THISTLE';
        $this->rgb_to_name['255 250 250'] = 'SNOW1';
        $this->rgb_to_name['238 233 233'] = 'SNOW2';
        $this->rgb_to_name['205 201 201'] = 'SNOW3';
        $this->rgb_to_name['139 137 137'] = 'SNOW4';
        $this->rgb_to_name['255 245 238'] = 'SEASHELL1';
        $this->rgb_to_name['238 229 222'] = 'SEASHELL2';
        $this->rgb_to_name['205 197 191'] = 'SEASHELL3';
        $this->rgb_to_name['139 134 130'] = 'SEASHELL4';
        $this->rgb_to_name['255 239 219'] = 'ANTIQUEWHITE1';
        $this->rgb_to_name['238 223 204'] = 'ANTIQUEWHITE2';
        $this->rgb_to_name['205 192 176'] = 'ANTIQUEWHITE3';
        $this->rgb_to_name['139 131 120'] = 'ANTIQUEWHITE4';
        $this->rgb_to_name['255 228 196'] = 'BISQUE1';
        $this->rgb_to_name['238 213 183'] = 'BISQUE2';
        $this->rgb_to_name['205 183 158'] = 'BISQUE3';
        $this->rgb_to_name['139 125 107'] = 'BISQUE4';
        $this->rgb_to_name['255 218 185'] = 'PEACHPUFF1';
        $this->rgb_to_name['238 203 173'] = 'PEACHPUFF2';
        $this->rgb_to_name['205 175 149'] = 'PEACHPUFF3';
        $this->rgb_to_name['139 119 101'] = 'PEACHPUFF4';
        $this->rgb_to_name['255 222 173'] = 'NAVAJOWHITE1';
        $this->rgb_to_name['238 207 161'] = 'NAVAJOWHITE2';
        $this->rgb_to_name['205 179 139'] = 'NAVAJOWHITE3';
        $this->rgb_to_name['139 121 94'] = 'NAVAJOWHITE4';
        $this->rgb_to_name['255 250 205'] = 'LEMONCHIFFON1';
        $this->rgb_to_name['238 233 191'] = 'LEMONCHIFFON2';
        $this->rgb_to_name['205 201 165'] = 'LEMONCHIFFON3';
        $this->rgb_to_name['139 137 112'] = 'LEMONCHIFFON4';
        $this->rgb_to_name['255 248 220'] = 'CORNSILK1';
        $this->rgb_to_name['238 232 205'] = 'CORNSILK2';
        $this->rgb_to_name['205 200 177'] = 'CORNSILK3';
        $this->rgb_to_name['139 136 120'] = 'CORNSILK4';
        $this->rgb_to_name['255 255 240'] = 'IVORY1';
        $this->rgb_to_name['238 238 224'] = 'IVORY2';
        $this->rgb_to_name['205 205 193'] = 'IVORY3';
        $this->rgb_to_name['139 139 131'] = 'IVORY4';
        $this->rgb_to_name['240 255 240'] = 'HONEYDEW1';
        $this->rgb_to_name['224 238 224'] = 'HONEYDEW2';
        $this->rgb_to_name['193 205 193'] = 'HONEYDEW3';
        $this->rgb_to_name['131 139 131'] = 'HONEYDEW4';
        $this->rgb_to_name['255 240 245'] = 'LAVENDERBLUSH1';
        $this->rgb_to_name['238 224 229'] = 'LAVENDERBLUSH2';
        $this->rgb_to_name['205 193 197'] = 'LAVENDERBLUSH3';
        $this->rgb_to_name['139 131 134'] = 'LAVENDERBLUSH4';
        $this->rgb_to_name['255 228 225'] = 'MISTYROSE1';
        $this->rgb_to_name['238 213 210'] = 'MISTYROSE2';
        $this->rgb_to_name['205 183 181'] = 'MISTYROSE3';
        $this->rgb_to_name['139 125 123'] = 'MISTYROSE4';
        $this->rgb_to_name['240 255 255'] = 'AZURE1';
        $this->rgb_to_name['224 238 238'] = 'AZURE2';
        $this->rgb_to_name['193 205 205'] = 'AZURE3';
        $this->rgb_to_name['131 139 139'] = 'AZURE4';
        $this->rgb_to_name['131 111 255'] = 'SLATEBLUE1';
        $this->rgb_to_name['122 103 238'] = 'SLATEBLUE2';
        $this->rgb_to_name['105 89 205'] = 'SLATEBLUE3';
        $this->rgb_to_name['71 60 139'] = 'SLATEBLUE4';
        $this->rgb_to_name['72 118 255'] = 'ROYALBLUE1';
        $this->rgb_to_name['67 110 238'] = 'ROYALBLUE2';
        $this->rgb_to_name['58 95 205'] = 'ROYALBLUE3';
        $this->rgb_to_name['39 64 139'] = 'ROYALBLUE4';
        $this->rgb_to_name['0 0 255'] = 'BLUE1';
        $this->rgb_to_name['0 0 238'] = 'BLUE2';
        $this->rgb_to_name['0 0 205'] = 'BLUE3';
        $this->rgb_to_name['0 0 139'] = 'BLUE4';
        $this->rgb_to_name['30 144 255'] = 'DODGERBLUE1';
        $this->rgb_to_name['28 134 238'] = 'DODGERBLUE2';
        $this->rgb_to_name['24 116 205'] = 'DODGERBLUE3';
        $this->rgb_to_name['16 78 139'] = 'DODGERBLUE4';
        $this->rgb_to_name['99 184 255'] = 'STEELBLUE1';
        $this->rgb_to_name['92 172 238'] = 'STEELBLUE2';
        $this->rgb_to_name['79 148 205'] = 'STEELBLUE3';
        $this->rgb_to_name['54 100 139'] = 'STEELBLUE4';
        $this->rgb_to_name['0 191 255'] = 'DEEPSKYBLUE1';
        $this->rgb_to_name['0 178 238'] = 'DEEPSKYBLUE2';
        $this->rgb_to_name['0 154 205'] = 'DEEPSKYBLUE3';
        $this->rgb_to_name['0 104 139'] = 'DEEPSKYBLUE4';
        $this->rgb_to_name['135 206 255'] = 'SKYBLUE1';
        $this->rgb_to_name['126 192 238'] = 'SKYBLUE2';
        $this->rgb_to_name['108 166 205'] = 'SKYBLUE3';
        $this->rgb_to_name['74 112 139'] = 'SKYBLUE4';
        $this->rgb_to_name['176 226 255'] = 'LIGHTSKYBLUE1';
        $this->rgb_to_name['164 211 238'] = 'LIGHTSKYBLUE2';
        $this->rgb_to_name['141 182 205'] = 'LIGHTSKYBLUE3';
        $this->rgb_to_name['96 123 139'] = 'LIGHTSKYBLUE4';
        $this->rgb_to_name['198 226 255'] = 'SLATEGRAY1';
        $this->rgb_to_name['185 211 238'] = 'SLATEGRAY2';
        $this->rgb_to_name['159 182 205'] = 'SLATEGRAY3';
        $this->rgb_to_name['108 123 139'] = 'SLATEGRAY4';
        $this->rgb_to_name['202 225 255'] = 'LIGHTSTEELBLUE1';
        $this->rgb_to_name['188 210 238'] = 'LIGHTSTEELBLUE2';
        $this->rgb_to_name['162 181 205'] = 'LIGHTSTEELBLUE3';
        $this->rgb_to_name['110 123 139'] = 'LIGHTSTEELBLUE4';
        $this->rgb_to_name['191 239 255'] = 'LIGHTBLUE1';
        $this->rgb_to_name['178 223 238'] = 'LIGHTBLUE2';
        $this->rgb_to_name['154 192 205'] = 'LIGHTBLUE3';
        $this->rgb_to_name['104 131 139'] = 'LIGHTBLUE4';
        $this->rgb_to_name['224 255 255'] = 'LIGHTCYAN1';
        $this->rgb_to_name['209 238 238'] = 'LIGHTCYAN2';
        $this->rgb_to_name['180 205 205'] = 'LIGHTCYAN3';
        $this->rgb_to_name['122 139 139'] = 'LIGHTCYAN4';
        $this->rgb_to_name['187 255 255'] = 'PALETURQUOISE1';
        $this->rgb_to_name['174 238 238'] = 'PALETURQUOISE2';
        $this->rgb_to_name['150 205 205'] = 'PALETURQUOISE3';
        $this->rgb_to_name['102 139 139'] = 'PALETURQUOISE4';
        $this->rgb_to_name['152 245 255'] = 'CADETBLUE1';
        $this->rgb_to_name['142 229 238'] = 'CADETBLUE2';
        $this->rgb_to_name['122 197 205'] = 'CADETBLUE3';
        $this->rgb_to_name['83 134 139'] = 'CADETBLUE4';
        $this->rgb_to_name['0 245 255'] = 'TURQUOISE1';
        $this->rgb_to_name['0 229 238'] = 'TURQUOISE2';
        $this->rgb_to_name['0 197 205'] = 'TURQUOISE3';
        $this->rgb_to_name['0 134 139'] = 'TURQUOISE4';
        $this->rgb_to_name['0 255 255'] = 'CYAN1';
        $this->rgb_to_name['0 238 238'] = 'CYAN2';
        $this->rgb_to_name['0 205 205'] = 'CYAN3';
        $this->rgb_to_name['0 139 139'] = 'CYAN4';
        $this->rgb_to_name['151 255 255'] = 'DARKSLATEGRAY1';
        $this->rgb_to_name['141 238 238'] = 'DARKSLATEGRAY2';
        $this->rgb_to_name['121 205 205'] = 'DARKSLATEGRAY3';
        $this->rgb_to_name['82 139 139'] = 'DARKSLATEGRAY4';
        $this->rgb_to_name['127 255 212'] = 'AQUAMARINE1';
        $this->rgb_to_name['118 238 198'] = 'AQUAMARINE2';
        $this->rgb_to_name['102 205 170'] = 'AQUAMARINE3';
        $this->rgb_to_name['69 139 116'] = 'AQUAMARINE4';
        $this->rgb_to_name['193 255 193'] = 'DARKSEAGREEN1';
        $this->rgb_to_name['180 238 180'] = 'DARKSEAGREEN2';
        $this->rgb_to_name['155 205 155'] = 'DARKSEAGREEN3';
        $this->rgb_to_name['105 139 105'] = 'DARKSEAGREEN4';
        $this->rgb_to_name['84 255 159'] = 'SEAGREEN1';
        $this->rgb_to_name['78 238 148'] = 'SEAGREEN2';
        $this->rgb_to_name['67 205 128'] = 'SEAGREEN3';
        $this->rgb_to_name['46 139 87'] = 'SEAGREEN4';
        $this->rgb_to_name['154 255 154'] = 'PALEGREEN1';
        $this->rgb_to_name['144 238 144'] = 'PALEGREEN2';
        $this->rgb_to_name['124 205 124'] = 'PALEGREEN3';
        $this->rgb_to_name['84 139 84'] = 'PALEGREEN4';
        $this->rgb_to_name['0 255 127'] = 'SPRINGGREEN1';
        $this->rgb_to_name['0 238 118'] = 'SPRINGGREEN2';
        $this->rgb_to_name['0 205 102'] = 'SPRINGGREEN3';
        $this->rgb_to_name['0 139 69'] = 'SPRINGGREEN4';
        $this->rgb_to_name['0 255 0'] = 'GREEN1';
        $this->rgb_to_name['0 238 0'] = 'GREEN2';
        $this->rgb_to_name['0 205 0'] = 'GREEN3';
        $this->rgb_to_name['0 139 0'] = 'GREEN4';
        $this->rgb_to_name['127 255 0'] = 'CHARTREUSE1';
        $this->rgb_to_name['118 238 0'] = 'CHARTREUSE2';
        $this->rgb_to_name['102 205 0'] = 'CHARTREUSE3';
        $this->rgb_to_name['69 139 0'] = 'CHARTREUSE4';
        $this->rgb_to_name['192 255 62'] = 'OLIVEDRAB1';
        $this->rgb_to_name['179 238 58'] = 'OLIVEDRAB2';
        $this->rgb_to_name['154 205 50'] = 'OLIVEDRAB3';
        $this->rgb_to_name['105 139 34'] = 'OLIVEDRAB4';
        $this->rgb_to_name['202 255 112'] = 'DARKOLIVEGREEN1';
        $this->rgb_to_name['188 238 104'] = 'DARKOLIVEGREEN2';
        $this->rgb_to_name['162 205 90'] = 'DARKOLIVEGREEN3';
        $this->rgb_to_name['110 139 61'] = 'DARKOLIVEGREEN4';
        $this->rgb_to_name['255 246 143'] = 'KHAKI1';
        $this->rgb_to_name['238 230 133'] = 'KHAKI2';
        $this->rgb_to_name['205 198 115'] = 'KHAKI3';
        $this->rgb_to_name['139 134 78'] = 'KHAKI4';
        $this->rgb_to_name['255 236 139'] = 'LIGHTGOLDENROD1';
        $this->rgb_to_name['238 220 130'] = 'LIGHTGOLDENROD2';
        $this->rgb_to_name['205 190 112'] = 'LIGHTGOLDENROD3';
        $this->rgb_to_name['139 129 76'] = 'LIGHTGOLDENROD4';
        $this->rgb_to_name['255 255 224'] = 'LIGHTYELLOW1';
        $this->rgb_to_name['238 238 209'] = 'LIGHTYELLOW2';
        $this->rgb_to_name['205 205 180'] = 'LIGHTYELLOW3';
        $this->rgb_to_name['139 139 122'] = 'LIGHTYELLOW4';
        $this->rgb_to_name['255 255 0'] = 'YELLOW1';
        $this->rgb_to_name['238 238 0'] = 'YELLOW2';
        $this->rgb_to_name['205 205 0'] = 'YELLOW3';
        $this->rgb_to_name['139 139 0'] = 'YELLOW4';
        $this->rgb_to_name['255 215 0'] = 'GOLD1';
        $this->rgb_to_name['238 201 0'] = 'GOLD2';
        $this->rgb_to_name['205 173 0'] = 'GOLD3';
        $this->rgb_to_name['139 117 0'] = 'GOLD4';
        $this->rgb_to_name['255 193 37'] = 'GOLDENROD1';
        $this->rgb_to_name['238 180 34'] = 'GOLDENROD2';
        $this->rgb_to_name['205 155 29'] = 'GOLDENROD3';
        $this->rgb_to_name['139 105 20'] = 'GOLDENROD4';
        $this->rgb_to_name['255 185 15'] = 'DARKGOLDENROD1';
        $this->rgb_to_name['238 173 14'] = 'DARKGOLDENROD2';
        $this->rgb_to_name['205 149 12'] = 'DARKGOLDENROD3';
        $this->rgb_to_name['139 101 8'] = 'DARKGOLDENROD4';
        $this->rgb_to_name['255 193 193'] = 'ROSYBROWN1';
        $this->rgb_to_name['238 180 180'] = 'ROSYBROWN2';
        $this->rgb_to_name['205 155 155'] = 'ROSYBROWN3';
        $this->rgb_to_name['139 105 105'] = 'ROSYBROWN4';
        $this->rgb_to_name['255 106 106'] = 'INDIANRED1';
        $this->rgb_to_name['238 99 99'] = 'INDIANRED2';
        $this->rgb_to_name['205 85 85'] = 'INDIANRED3';
        $this->rgb_to_name['139 58 58'] = 'INDIANRED4';
        $this->rgb_to_name['255 130 71'] = 'SIENNA1';
        $this->rgb_to_name['238 121 66'] = 'SIENNA2';
        $this->rgb_to_name['205 104 57'] = 'SIENNA3';
        $this->rgb_to_name['139 71 38'] = 'SIENNA4';
        $this->rgb_to_name['255 211 155'] = 'BURLYWOOD1';
        $this->rgb_to_name['238 197 145'] = 'BURLYWOOD2';
        $this->rgb_to_name['205 170 125'] = 'BURLYWOOD3';
        $this->rgb_to_name['139 115 85'] = 'BURLYWOOD4';
        $this->rgb_to_name['255 231 186'] = 'WHEAT1';
        $this->rgb_to_name['238 216 174'] = 'WHEAT2';
        $this->rgb_to_name['205 186 150'] = 'WHEAT3';
        $this->rgb_to_name['139 126 102'] = 'WHEAT4';
        $this->rgb_to_name['255 165 79'] = 'TAN1';
        $this->rgb_to_name['238 154 73'] = 'TAN2';
        $this->rgb_to_name['205 133 63'] = 'TAN3';
        $this->rgb_to_name['139 90 43'] = 'TAN4';
        $this->rgb_to_name['255 127 36'] = 'CHOCOLATE1';
        $this->rgb_to_name['238 118 33'] = 'CHOCOLATE2';
        $this->rgb_to_name['205 102 29'] = 'CHOCOLATE3';
        $this->rgb_to_name['139 69 19'] = 'CHOCOLATE4';
        $this->rgb_to_name['255 48 48'] = 'FIREBRICK1';
        $this->rgb_to_name['238 44 44'] = 'FIREBRICK2';
        $this->rgb_to_name['205 38 38'] = 'FIREBRICK3';
        $this->rgb_to_name['139 26 26'] = 'FIREBRICK4';
        $this->rgb_to_name['255 64 64'] = 'BROWN1';
        $this->rgb_to_name['238 59 59'] = 'BROWN2';
        $this->rgb_to_name['205 51 51'] = 'BROWN3';
        $this->rgb_to_name['139 35 35'] = 'BROWN4';
        $this->rgb_to_name['255 140 105'] = 'SALMON1';
        $this->rgb_to_name['238 130 98'] = 'SALMON2';
        $this->rgb_to_name['205 112 84'] = 'SALMON3';
        $this->rgb_to_name['139 76 57'] = 'SALMON4';
        $this->rgb_to_name['255 160 122'] = 'LIGHTSALMON1';
        $this->rgb_to_name['238 149 114'] = 'LIGHTSALMON2';
        $this->rgb_to_name['205 129 98'] = 'LIGHTSALMON3';
        $this->rgb_to_name['139 87 66'] = 'LIGHTSALMON4';
        $this->rgb_to_name['255 165 0'] = 'ORANGE1';
        $this->rgb_to_name['238 154 0'] = 'ORANGE2';
        $this->rgb_to_name['205 133 0'] = 'ORANGE3';
        $this->rgb_to_name['139 90 0'] = 'ORANGE4';
        $this->rgb_to_name['255 127 0'] = 'DARKORANGE1';
        $this->rgb_to_name['238 118 0'] = 'DARKORANGE2';
        $this->rgb_to_name['205 102 0'] = 'DARKORANGE3';
        $this->rgb_to_name['139 69 0'] = 'DARKORANGE4';
        $this->rgb_to_name['255 114 86'] = 'CORAL1';
        $this->rgb_to_name['238 106 80'] = 'CORAL2';
        $this->rgb_to_name['205 91 69'] = 'CORAL3';
        $this->rgb_to_name['139 62 47'] = 'CORAL4';
        $this->rgb_to_name['255 99 71'] = 'TOMATO1';
        $this->rgb_to_name['238 92 66'] = 'TOMATO2';
        $this->rgb_to_name['205 79 57'] = 'TOMATO3';
        $this->rgb_to_name['139 54 38'] = 'TOMATO4';
        $this->rgb_to_name['255 69 0'] = 'ORANGERED1';
        $this->rgb_to_name['238 64 0'] = 'ORANGERED2';
        $this->rgb_to_name['205 55 0'] = 'ORANGERED3';
        $this->rgb_to_name['139 37 0'] = 'ORANGERED4';
        $this->rgb_to_name['255 0 0'] = 'RED1';
        $this->rgb_to_name['238 0 0'] = 'RED2';
        $this->rgb_to_name['205 0 0'] = 'RED3';
        $this->rgb_to_name['139 0 0'] = 'RED4';
        $this->rgb_to_name['255 20 147'] = 'DEEPPINK1';
        $this->rgb_to_name['238 18 137'] = 'DEEPPINK2';
        $this->rgb_to_name['205 16 118'] = 'DEEPPINK3';
        $this->rgb_to_name['139 10 80'] = 'DEEPPINK4';
        $this->rgb_to_name['255 110 180'] = 'HOTPINK1';
        $this->rgb_to_name['238 106 167'] = 'HOTPINK2';
        $this->rgb_to_name['205 96 144'] = 'HOTPINK3';
        $this->rgb_to_name['139 58 98'] = 'HOTPINK4';
        $this->rgb_to_name['255 181 197'] = 'PINK1';
        $this->rgb_to_name['238 169 184'] = 'PINK2';
        $this->rgb_to_name['205 145 158'] = 'PINK3';
        $this->rgb_to_name['139 99 108'] = 'PINK4';
        $this->rgb_to_name['255 174 185'] = 'LIGHTPINK1';
        $this->rgb_to_name['238 162 173'] = 'LIGHTPINK2';
        $this->rgb_to_name['205 140 149'] = 'LIGHTPINK3';
        $this->rgb_to_name['139 95 101'] = 'LIGHTPINK4';
        $this->rgb_to_name['255 130 171'] = 'PALEVIOLETRED1';
        $this->rgb_to_name['238 121 159'] = 'PALEVIOLETRED2';
        $this->rgb_to_name['205 104 137'] = 'PALEVIOLETRED3';
        $this->rgb_to_name['139 71 93'] = 'PALEVIOLETRED4';
        $this->rgb_to_name['255 52 179'] = 'MAROON1';
        $this->rgb_to_name['238 48 167'] = 'MAROON2';
        $this->rgb_to_name['205 41 144'] = 'MAROON3';
        $this->rgb_to_name['139 28 98'] = 'MAROON4';
        $this->rgb_to_name['255 62 150'] = 'VIOLETRED1';
        $this->rgb_to_name['238 58 140'] = 'VIOLETRED2';
        $this->rgb_to_name['205 50 120'] = 'VIOLETRED3';
        $this->rgb_to_name['139 34 82'] = 'VIOLETRED4';
        $this->rgb_to_name['255 0 255'] = 'MAGENTA1';
        $this->rgb_to_name['238 0 238'] = 'MAGENTA2';
        $this->rgb_to_name['205 0 205'] = 'MAGENTA3';
        $this->rgb_to_name['139 0 139'] = 'MAGENTA4';
        $this->rgb_to_name['255 131 250'] = 'ORCHID1';
        $this->rgb_to_name['238 122 233'] = 'ORCHID2';
        $this->rgb_to_name['205 105 201'] = 'ORCHID3';
        $this->rgb_to_name['139 71 137'] = 'ORCHID4';
        $this->rgb_to_name['255 187 255'] = 'PLUM1';
        $this->rgb_to_name['238 174 238'] = 'PLUM2';
        $this->rgb_to_name['205 150 205'] = 'PLUM3';
        $this->rgb_to_name['139 102 139'] = 'PLUM4';
        $this->rgb_to_name['224 102 255'] = 'MEDIUMORCHID1';
        $this->rgb_to_name['209 95 238'] = 'MEDIUMORCHID2';
        $this->rgb_to_name['180 82 205'] = 'MEDIUMORCHID3';
        $this->rgb_to_name['122 55 139'] = 'MEDIUMORCHID4';
        $this->rgb_to_name['191 62 255'] = 'DARKORCHID1';
        $this->rgb_to_name['178 58 238'] = 'DARKORCHID2';
        $this->rgb_to_name['154 50 205'] = 'DARKORCHID3';
        $this->rgb_to_name['104 34 139'] = 'DARKORCHID4';
        $this->rgb_to_name['155 48 255'] = 'PURPLE1';
        $this->rgb_to_name['145 44 238'] = 'PURPLE2';
        $this->rgb_to_name['125 38 205'] = 'PURPLE3';
        $this->rgb_to_name['85 26 139'] = 'PURPLE4';
        $this->rgb_to_name['171 130 255'] = 'MEDIUMPURPLE1';
        $this->rgb_to_name['159 121 238'] = 'MEDIUMPURPLE2';
        $this->rgb_to_name['137 104 205'] = 'MEDIUMPURPLE3';
        $this->rgb_to_name['93 71 139'] = 'MEDIUMPURPLE4';
        $this->rgb_to_name['255 225 255'] = 'THISTLE1';
        $this->rgb_to_name['238 210 238'] = 'THISTLE2';
        $this->rgb_to_name['205 181 205'] = 'THISTLE3';
        $this->rgb_to_name['139 123 139'] = 'THISTLE4';
        $this->rgb_to_name['0 0 0'] = 'GRAY0';
        $this->rgb_to_name['0 0 0'] = 'GREY0';
        $this->rgb_to_name['3 3 3'] = 'GRAY1';
        $this->rgb_to_name['3 3 3'] = 'GREY1';
        $this->rgb_to_name['5 5 5'] = 'GRAY2';
        $this->rgb_to_name['5 5 5'] = 'GREY2';
        $this->rgb_to_name['8 8 8'] = 'GRAY3';
        $this->rgb_to_name['8 8 8'] = 'GREY3';
        $this->rgb_to_name['10 10 10'] = 'GRAY4';
        $this->rgb_to_name['10 10 10'] = 'GREY4';
        $this->rgb_to_name['13 13 13'] = 'GRAY5';
        $this->rgb_to_name['13 13 13'] = 'GREY5';
        $this->rgb_to_name['15 15 15'] = 'GRAY6';
        $this->rgb_to_name['15 15 15'] = 'GREY6';
        $this->rgb_to_name['18 18 18'] = 'GRAY7';
        $this->rgb_to_name['18 18 18'] = 'GREY7';
        $this->rgb_to_name['20 20 20'] = 'GRAY8';
        $this->rgb_to_name['20 20 20'] = 'GREY8';
        $this->rgb_to_name['23 23 23'] = 'GRAY9';
        $this->rgb_to_name['23 23 23'] = 'GREY9';
        $this->rgb_to_name['26 26 26'] = 'GRAY10';
        $this->rgb_to_name['26 26 26'] = 'GREY10';
        $this->rgb_to_name['28 28 28'] = 'GRAY11';
        $this->rgb_to_name['28 28 28'] = 'GREY11';
        $this->rgb_to_name['31 31 31'] = 'GRAY12';
        $this->rgb_to_name['31 31 31'] = 'GREY12';
        $this->rgb_to_name['33 33 33'] = 'GRAY13';
        $this->rgb_to_name['33 33 33'] = 'GREY13';
        $this->rgb_to_name['36 36 36'] = 'GRAY14';
        $this->rgb_to_name['36 36 36'] = 'GREY14';
        $this->rgb_to_name['38 38 38'] = 'GRAY15';
        $this->rgb_to_name['38 38 38'] = 'GREY15';
        $this->rgb_to_name['41 41 41'] = 'GRAY16';
        $this->rgb_to_name['41 41 41'] = 'GREY16';
        $this->rgb_to_name['43 43 43'] = 'GRAY17';
        $this->rgb_to_name['43 43 43'] = 'GREY17';
        $this->rgb_to_name['46 46 46'] = 'GRAY18';
        $this->rgb_to_name['46 46 46'] = 'GREY18';
        $this->rgb_to_name['48 48 48'] = 'GRAY19';
        $this->rgb_to_name['48 48 48'] = 'GREY19';
        $this->rgb_to_name['51 51 51'] = 'GRAY20';
        $this->rgb_to_name['51 51 51'] = 'GREY20';
        $this->rgb_to_name['54 54 54'] = 'GRAY21';
        $this->rgb_to_name['54 54 54'] = 'GREY21';
        $this->rgb_to_name['56 56 56'] = 'GRAY22';
        $this->rgb_to_name['56 56 56'] = 'GREY22';
        $this->rgb_to_name['59 59 59'] = 'GRAY23';
        $this->rgb_to_name['59 59 59'] = 'GREY23';
        $this->rgb_to_name['61 61 61'] = 'GRAY24';
        $this->rgb_to_name['61 61 61'] = 'GREY24';
        $this->rgb_to_name['64 64 64'] = 'GRAY25';
        $this->rgb_to_name['64 64 64'] = 'GREY25';
        $this->rgb_to_name['66 66 66'] = 'GRAY26';
        $this->rgb_to_name['66 66 66'] = 'GREY26';
        $this->rgb_to_name['69 69 69'] = 'GRAY27';
        $this->rgb_to_name['69 69 69'] = 'GREY27';
        $this->rgb_to_name['71 71 71'] = 'GRAY28';
        $this->rgb_to_name['71 71 71'] = 'GREY28';
        $this->rgb_to_name['74 74 74'] = 'GRAY29';
        $this->rgb_to_name['74 74 74'] = 'GREY29';
        $this->rgb_to_name['77 77 77'] = 'GRAY30';
        $this->rgb_to_name['77 77 77'] = 'GREY30';
        $this->rgb_to_name['79 79 79'] = 'GRAY31';
        $this->rgb_to_name['79 79 79'] = 'GREY31';
        $this->rgb_to_name['82 82 82'] = 'GRAY32';
        $this->rgb_to_name['82 82 82'] = 'GREY32';
        $this->rgb_to_name['84 84 84'] = 'GRAY33';
        $this->rgb_to_name['84 84 84'] = 'GREY33';
        $this->rgb_to_name['87 87 87'] = 'GRAY34';
        $this->rgb_to_name['87 87 87'] = 'GREY34';
        $this->rgb_to_name['89 89 89'] = 'GRAY35';
        $this->rgb_to_name['89 89 89'] = 'GREY35';
        $this->rgb_to_name['92 92 92'] = 'GRAY36';
        $this->rgb_to_name['92 92 92'] = 'GREY36';
        $this->rgb_to_name['94 94 94'] = 'GRAY37';
        $this->rgb_to_name['94 94 94'] = 'GREY37';
        $this->rgb_to_name['97 97 97'] = 'GRAY38';
        $this->rgb_to_name['97 97 97'] = 'GREY38';
        $this->rgb_to_name['99 99 99'] = 'GRAY39';
        $this->rgb_to_name['99 99 99'] = 'GREY39';
        $this->rgb_to_name['102 102 102'] = 'GRAY40';
        $this->rgb_to_name['102 102 102'] = 'GREY40';
        $this->rgb_to_name['105 105 105'] = 'GRAY41';
        $this->rgb_to_name['105 105 105'] = 'GREY41';
        $this->rgb_to_name['107 107 107'] = 'GRAY42';
        $this->rgb_to_name['107 107 107'] = 'GREY42';
        $this->rgb_to_name['110 110 110'] = 'GRAY43';
        $this->rgb_to_name['110 110 110'] = 'GREY43';
        $this->rgb_to_name['112 112 112'] = 'GRAY44';
        $this->rgb_to_name['112 112 112'] = 'GREY44';
        $this->rgb_to_name['115 115 115'] = 'GRAY45';
        $this->rgb_to_name['115 115 115'] = 'GREY45';
        $this->rgb_to_name['117 117 117'] = 'GRAY46';
        $this->rgb_to_name['117 117 117'] = 'GREY46';
        $this->rgb_to_name['120 120 120'] = 'GRAY47';
        $this->rgb_to_name['120 120 120'] = 'GREY47';
        $this->rgb_to_name['122 122 122'] = 'GRAY48';
        $this->rgb_to_name['122 122 122'] = 'GREY48';
        $this->rgb_to_name['125 125 125'] = 'GRAY49';
        $this->rgb_to_name['125 125 125'] = 'GREY49';
        $this->rgb_to_name['127 127 127'] = 'GRAY50';
        $this->rgb_to_name['127 127 127'] = 'GREY50';
        $this->rgb_to_name['130 130 130'] = 'GRAY51';
        $this->rgb_to_name['130 130 130'] = 'GREY51';
        $this->rgb_to_name['133 133 133'] = 'GRAY52';
        $this->rgb_to_name['133 133 133'] = 'GREY52';
        $this->rgb_to_name['135 135 135'] = 'GRAY53';
        $this->rgb_to_name['135 135 135'] = 'GREY53';
        $this->rgb_to_name['138 138 138'] = 'GRAY54';
        $this->rgb_to_name['138 138 138'] = 'GREY54';
        $this->rgb_to_name['140 140 140'] = 'GRAY55';
        $this->rgb_to_name['140 140 140'] = 'GREY55';
        $this->rgb_to_name['143 143 143'] = 'GRAY56';
        $this->rgb_to_name['143 143 143'] = 'GREY56';
        $this->rgb_to_name['145 145 145'] = 'GRAY57';
        $this->rgb_to_name['145 145 145'] = 'GREY57';
        $this->rgb_to_name['148 148 148'] = 'GRAY58';
        $this->rgb_to_name['148 148 148'] = 'GREY58';
        $this->rgb_to_name['150 150 150'] = 'GRAY59';
        $this->rgb_to_name['150 150 150'] = 'GREY59';
        $this->rgb_to_name['153 153 153'] = 'GRAY60';
        $this->rgb_to_name['153 153 153'] = 'GREY60';
        $this->rgb_to_name['156 156 156'] = 'GRAY61';
        $this->rgb_to_name['156 156 156'] = 'GREY61';
        $this->rgb_to_name['158 158 158'] = 'GRAY62';
        $this->rgb_to_name['158 158 158'] = 'GREY62';
        $this->rgb_to_name['161 161 161'] = 'GRAY63';
        $this->rgb_to_name['161 161 161'] = 'GREY63';
        $this->rgb_to_name['163 163 163'] = 'GRAY64';
        $this->rgb_to_name['163 163 163'] = 'GREY64';
        $this->rgb_to_name['166 166 166'] = 'GRAY65';
        $this->rgb_to_name['166 166 166'] = 'GREY65';
        $this->rgb_to_name['168 168 168'] = 'GRAY66';
        $this->rgb_to_name['168 168 168'] = 'GREY66';
        $this->rgb_to_name['171 171 171'] = 'GRAY67';
        $this->rgb_to_name['171 171 171'] = 'GREY67';
        $this->rgb_to_name['173 173 173'] = 'GRAY68';
        $this->rgb_to_name['173 173 173'] = 'GREY68';
        $this->rgb_to_name['176 176 176'] = 'GRAY69';
        $this->rgb_to_name['176 176 176'] = 'GREY69';
        $this->rgb_to_name['179 179 179'] = 'GRAY70';
        $this->rgb_to_name['179 179 179'] = 'GREY70';
        $this->rgb_to_name['181 181 181'] = 'GRAY71';
        $this->rgb_to_name['181 181 181'] = 'GREY71';
        $this->rgb_to_name['184 184 184'] = 'GRAY72';
        $this->rgb_to_name['184 184 184'] = 'GREY72';
        $this->rgb_to_name['186 186 186'] = 'GRAY73';
        $this->rgb_to_name['186 186 186'] = 'GREY73';
        $this->rgb_to_name['189 189 189'] = 'GRAY74';
        $this->rgb_to_name['189 189 189'] = 'GREY74';
        $this->rgb_to_name['191 191 191'] = 'GRAY75';
        $this->rgb_to_name['191 191 191'] = 'GREY75';
        $this->rgb_to_name['194 194 194'] = 'GRAY76';
        $this->rgb_to_name['194 194 194'] = 'GREY76';
        $this->rgb_to_name['196 196 196'] = 'GRAY77';
        $this->rgb_to_name['196 196 196'] = 'GREY77';
        $this->rgb_to_name['199 199 199'] = 'GRAY78';
        $this->rgb_to_name['199 199 199'] = 'GREY78';
        $this->rgb_to_name['201 201 201'] = 'GRAY79';
        $this->rgb_to_name['201 201 201'] = 'GREY79';
        $this->rgb_to_name['204 204 204'] = 'GRAY80';
        $this->rgb_to_name['204 204 204'] = 'GREY80';
        $this->rgb_to_name['207 207 207'] = 'GRAY81';
        $this->rgb_to_name['207 207 207'] = 'GREY81';
        $this->rgb_to_name['209 209 209'] = 'GRAY82';
        $this->rgb_to_name['209 209 209'] = 'GREY82';
        $this->rgb_to_name['212 212 212'] = 'GRAY83';
        $this->rgb_to_name['212 212 212'] = 'GREY83';
        $this->rgb_to_name['214 214 214'] = 'GRAY84';
        $this->rgb_to_name['214 214 214'] = 'GREY84';
        $this->rgb_to_name['217 217 217'] = 'GRAY85';
        $this->rgb_to_name['217 217 217'] = 'GREY85';
        $this->rgb_to_name['219 219 219'] = 'GRAY86';
        $this->rgb_to_name['219 219 219'] = 'GREY86';
        $this->rgb_to_name['222 222 222'] = 'GRAY87';
        $this->rgb_to_name['222 222 222'] = 'GREY87';
        $this->rgb_to_name['224 224 224'] = 'GRAY88';
        $this->rgb_to_name['224 224 224'] = 'GREY88';
        $this->rgb_to_name['227 227 227'] = 'GRAY89';
        $this->rgb_to_name['227 227 227'] = 'GREY89';
        $this->rgb_to_name['229 229 229'] = 'GRAY90';
        $this->rgb_to_name['229 229 229'] = 'GREY90';
        $this->rgb_to_name['232 232 232'] = 'GRAY91';
        $this->rgb_to_name['232 232 232'] = 'GREY91';
        $this->rgb_to_name['235 235 235'] = 'GRAY92';
        $this->rgb_to_name['235 235 235'] = 'GREY92';
        $this->rgb_to_name['237 237 237'] = 'GRAY93';
        $this->rgb_to_name['237 237 237'] = 'GREY93';
        $this->rgb_to_name['240 240 240'] = 'GRAY94';
        $this->rgb_to_name['240 240 240'] = 'GREY94';
        $this->rgb_to_name['242 242 242'] = 'GRAY95';
        $this->rgb_to_name['242 242 242'] = 'GREY95';
        $this->rgb_to_name['245 245 245'] = 'GRAY96';
        $this->rgb_to_name['245 245 245'] = 'GREY96';
        $this->rgb_to_name['247 247 247'] = 'GRAY97';
        $this->rgb_to_name['247 247 247'] = 'GREY97';
        $this->rgb_to_name['250 250 250'] = 'GRAY98';
        $this->rgb_to_name['250 250 250'] = 'GREY98';
        $this->rgb_to_name['252 252 252'] = 'GRAY99';
        $this->rgb_to_name['252 252 252'] = 'GREY99';
        $this->rgb_to_name['255 255 255'] = 'GRAY100';
        $this->rgb_to_name['255 255 255'] = 'GREY100';
        // ----------------------
        $this->name_to_hex['SNOW'] = 'FFFAFA';
        $this->name_to_hex['GHOST WHITE'] = 'F8F8FF';
        $this->name_to_hex['GHOSTWHITE'] = 'F8F8FF';
        $this->name_to_hex['WHITE SMOKE'] = 'F5F5F5';
        $this->name_to_hex['WHITESMOKE'] = 'F5F5F5';
        $this->name_to_hex['GAINSBORO'] = 'DCDCDC';
        $this->name_to_hex['FLORAL WHITE'] = 'FFFAF0';
        $this->name_to_hex['FLORALWHITE'] = 'FFFAF0';
        $this->name_to_hex['OLD LACE'] = 'FDF5E6';
        $this->name_to_hex['OLDLACE'] = 'FDF5E6';
        $this->name_to_hex['LINEN'] = 'FAF0E6';
        $this->name_to_hex['ANTIQUE WHITE'] = 'FAEBD7';
        $this->name_to_hex['ANTIQUEWHITE'] = 'FAEBD7';
        $this->name_to_hex['PAPAYA WHIP'] = 'FFEFD5';
        $this->name_to_hex['PAPAYAWHIP'] = 'FFEFD5';
        $this->name_to_hex['BLANCHED ALMOND'] = 'FFEBCD';
        $this->name_to_hex['BLANCHEDALMOND'] = 'FFEBCD';
        $this->name_to_hex['BISQUE'] = 'FFE4C4';
        $this->name_to_hex['PEACH PUFF'] = 'FFDAB9';
        $this->name_to_hex['PEACHPUFF'] = 'FFDAB9';
        $this->name_to_hex['NAVAJO WHITE'] = 'FFDEAD';
        $this->name_to_hex['NAVAJOWHITE'] = 'FFDEAD';
        $this->name_to_hex['MOCCASIN'] = 'FFE4B5';
        $this->name_to_hex['CORNSILK'] = 'FFF8DC';
        $this->name_to_hex['IVORY'] = 'FFFFF0';
        $this->name_to_hex['LEMON CHIFFON'] = 'FFFACD';
        $this->name_to_hex['LEMONCHIFFON'] = 'FFFACD';
        $this->name_to_hex['SEASHELL'] = 'FFF5EE';
        $this->name_to_hex['HONEYDEW'] = 'F0FFF0';
        $this->name_to_hex['MINT CREAM'] = 'F5FFFA';
        $this->name_to_hex['MINTCREAM'] = 'F5FFFA';
        $this->name_to_hex['AZURE'] = 'F0FFFF';
        $this->name_to_hex['ALICE BLUE'] = 'F0F8FF';
        $this->name_to_hex['ALICEBLUE'] = 'F0F8FF';
        $this->name_to_hex['LAVENDER'] = 'E6E6FA';
        $this->name_to_hex['LAVENDER BLUSH'] = 'FFF0F5';
        $this->name_to_hex['LAVENDERBLUSH'] = 'FFF0F5';
        $this->name_to_hex['MISTY ROSE'] = 'FFE4E1';
        $this->name_to_hex['MISTYROSE'] = 'FFE4E1';
        $this->name_to_hex['WHITE'] = 'FFFFFF';
        $this->name_to_hex['BLACK'] = '000000';
        $this->name_to_hex['DARK SLATE GRAY'] = '2F4F4F';
        $this->name_to_hex['DARKSLATEGRAY'] = '2F4F4F';
        $this->name_to_hex['DARK SLATE GREY'] = '2F4F4F';
        $this->name_to_hex['DARKSLATEGREY'] = '2F4F4F';
        $this->name_to_hex['DIM GRAY'] = '696969';
        $this->name_to_hex['DIMGRAY'] = '696969';
        $this->name_to_hex['DIM GREY'] = '696969';
        $this->name_to_hex['DIMGREY'] = '696969';
        $this->name_to_hex['SLATE GRAY'] = '708090';
        $this->name_to_hex['SLATEGRAY'] = '708090';
        $this->name_to_hex['SLATE GREY'] = '708090';
        $this->name_to_hex['SLATEGREY'] = '708090';
        $this->name_to_hex['LIGHT SLATE GRAY'] = '778899';
        $this->name_to_hex['LIGHTSLATEGRAY'] = '778899';
        $this->name_to_hex['LIGHT SLATE GREY'] = '778899';
        $this->name_to_hex['LIGHTSLATEGREY'] = '778899';
        $this->name_to_hex['GRAY'] = 'BEBEBE';
        $this->name_to_hex['GREY'] = 'BEBEBE';
        $this->name_to_hex['LIGHT GREY'] = 'D3D3D3';
        $this->name_to_hex['LIGHTGREY'] = 'D3D3D3';
        $this->name_to_hex['LIGHT GRAY'] = 'D3D3D3';
        $this->name_to_hex['LIGHTGRAY'] = 'D3D3D3';
        $this->name_to_hex['MIDNIGHT BLUE'] = '191970';
        $this->name_to_hex['MIDNIGHTBLUE'] = '191970';
        $this->name_to_hex['NAVY'] = '000080';
        $this->name_to_hex['NAVY BLUE'] = '000080';
        $this->name_to_hex['NAVYBLUE'] = '000080';
        $this->name_to_hex['CORNFLOWER BLUE'] = '6495ED';
        $this->name_to_hex['CORNFLOWERBLUE'] = '6495ED';
        $this->name_to_hex['DARK SLATE BLUE'] = '483D8B';
        $this->name_to_hex['DARKSLATEBLUE'] = '483D8B';
        $this->name_to_hex['SLATE BLUE'] = '6A5ACD';
        $this->name_to_hex['SLATEBLUE'] = '6A5ACD';
        $this->name_to_hex['MEDIUM SLATE BLUE'] = '7B68EE';
        $this->name_to_hex['MEDIUMSLATEBLUE'] = '7B68EE';
        $this->name_to_hex['LIGHT SLATE BLUE'] = '8470FF';
        $this->name_to_hex['LIGHTSLATEBLUE'] = '8470FF';
        $this->name_to_hex['MEDIUM BLUE'] = '0000CD';
        $this->name_to_hex['MEDIUMBLUE'] = '0000CD';
        $this->name_to_hex['ROYAL BLUE'] = '4169E1';
        $this->name_to_hex['ROYALBLUE'] = '4169E1';
        $this->name_to_hex['BLUE'] = '0000FF';
        $this->name_to_hex['DODGER BLUE'] = '1E90FF';
        $this->name_to_hex['DODGERBLUE'] = '1E90FF';
        $this->name_to_hex['DEEP SKY BLUE'] = '00BFFF';
        $this->name_to_hex['DEEPSKYBLUE'] = '00BFFF';
        $this->name_to_hex['SKY BLUE'] = '87CEEB';
        $this->name_to_hex['SKYBLUE'] = '87CEEB';
        $this->name_to_hex['LIGHT SKY BLUE'] = '87CEFA';
        $this->name_to_hex['LIGHTSKYBLUE'] = '87CEFA';
        $this->name_to_hex['STEEL BLUE'] = '4682B4';
        $this->name_to_hex['STEELBLUE'] = '4682B4';
        $this->name_to_hex['LIGHT STEEL BLUE'] = 'B0C4DE';
        $this->name_to_hex['LIGHTSTEELBLUE'] = 'B0C4DE';
        $this->name_to_hex['LIGHT BLUE'] = 'ADD8E6';
        $this->name_to_hex['LIGHTBLUE'] = 'ADD8E6';
        $this->name_to_hex['POWDER BLUE'] = 'B0E0E6';
        $this->name_to_hex['POWDERBLUE'] = 'B0E0E6';
        $this->name_to_hex['PALE TURQUOISE'] = 'AFEEEE';
        $this->name_to_hex['PALETURQUOISE'] = 'AFEEEE';
        $this->name_to_hex['DARK TURQUOISE'] = '00CED1';
        $this->name_to_hex['DARKTURQUOISE'] = '00CED1';
        $this->name_to_hex['MEDIUM TURQUOISE'] = '48D1CC';
        $this->name_to_hex['MEDIUMTURQUOISE'] = '48D1CC';
        $this->name_to_hex['TURQUOISE'] = '40E0D0';
        $this->name_to_hex['CYAN'] = '00FFFF';
        $this->name_to_hex['LIGHT CYAN'] = 'E0FFFF';
        $this->name_to_hex['LIGHTCYAN'] = 'E0FFFF';
        $this->name_to_hex['CADET BLUE'] = '5F9EA0';
        $this->name_to_hex['CADETBLUE'] = '5F9EA0';
        $this->name_to_hex['MEDIUM AQUAMARINE'] = '66CDAA';
        $this->name_to_hex['MEDIUMAQUAMARINE'] = '66CDAA';
        $this->name_to_hex['AQUAMARINE'] = '7FFFD4';
        $this->name_to_hex['DARK GREEN'] = '006400';
        $this->name_to_hex['DARKGREEN'] = '006400';
        $this->name_to_hex['DARK OLIVE GREEN'] = '556B2F';
        $this->name_to_hex['DARKOLIVEGREEN'] = '556B2F';
        $this->name_to_hex['DARK SEA GREEN'] = '8FBC8F';
        $this->name_to_hex['DARKSEAGREEN'] = '8FBC8F';
        $this->name_to_hex['SEA GREEN'] = '2E8B57';
        $this->name_to_hex['SEAGREEN'] = '2E8B57';
        $this->name_to_hex['MEDIUM SEA GREEN'] = '3CB371';
        $this->name_to_hex['MEDIUMSEAGREEN'] = '3CB371';
        $this->name_to_hex['LIGHT SEA GREEN'] = '20B2AA';
        $this->name_to_hex['LIGHTSEAGREEN'] = '20B2AA';
        $this->name_to_hex['PALE GREEN'] = '98FB98';
        $this->name_to_hex['PALEGREEN'] = '98FB98';
        $this->name_to_hex['SPRING GREEN'] = '00FF7F';
        $this->name_to_hex['SPRINGGREEN'] = '00FF7F';
        $this->name_to_hex['LAWN GREEN'] = '7CFC00';
        $this->name_to_hex['LAWNGREEN'] = '7CFC00';
        $this->name_to_hex['GREEN'] = '00FF00';
        $this->name_to_hex['CHARTREUSE'] = '7FFF00';
        $this->name_to_hex['MEDIUM SPRING GREEN'] = '00FA9A';
        $this->name_to_hex['MEDIUMSPRINGGREEN'] = '00FA9A';
        $this->name_to_hex['GREEN YELLOW'] = 'ADFF2F';
        $this->name_to_hex['GREENYELLOW'] = 'ADFF2F';
        $this->name_to_hex['LIME GREEN'] = '32CD32';
        $this->name_to_hex['LIMEGREEN'] = '32CD32';
        $this->name_to_hex['YELLOW GREEN'] = '9ACD32';
        $this->name_to_hex['YELLOWGREEN'] = '9ACD32';
        $this->name_to_hex['FOREST GREEN'] = '228B22';
        $this->name_to_hex['FORESTGREEN'] = '228B22';
        $this->name_to_hex['OLIVE DRAB'] = '6B8E23';
        $this->name_to_hex['OLIVEDRAB'] = '6B8E23';
        $this->name_to_hex['DARK KHAKI'] = 'BDB76B';
        $this->name_to_hex['DARKKHAKI'] = 'BDB76B';
        $this->name_to_hex['KHAKI'] = 'F0E68C';
        $this->name_to_hex['PALE GOLDENROD'] = 'EEE8AA';
        $this->name_to_hex['PALEGOLDENROD'] = 'EEE8AA';
        $this->name_to_hex['LIGHT GOLDENROD YELLOW'] = 'FAFAD2';
        $this->name_to_hex['LIGHTGOLDENRODYELLOW'] = 'FAFAD2';
        $this->name_to_hex['LIGHT YELLOW'] = 'FFFFE0';
        $this->name_to_hex['LIGHTYELLOW'] = 'FFFFE0';
        $this->name_to_hex['YELLOW'] = 'FFFF00';
        $this->name_to_hex['GOLD'] = 'FFD700';
        $this->name_to_hex['LIGHT GOLDENROD'] = 'EEDD82';
        $this->name_to_hex['LIGHTGOLDENROD'] = 'EEDD82';
        $this->name_to_hex['GOLDENROD'] = 'DAA520';
        $this->name_to_hex['DARK GOLDENROD'] = 'B8860B';
        $this->name_to_hex['DARKGOLDENROD'] = 'B8860B';
        $this->name_to_hex['ROSY BROWN'] = 'BC8F8F';
        $this->name_to_hex['ROSYBROWN'] = 'BC8F8F';
        $this->name_to_hex['INDIAN RED'] = 'CD5C5C';
        $this->name_to_hex['INDIANRED'] = 'CD5C5C';
        $this->name_to_hex['SADDLE BROWN'] = '8B4513';
        $this->name_to_hex['SADDLEBROWN'] = '8B4513';
        $this->name_to_hex['SIENNA'] = 'A0522D';
        $this->name_to_hex['PERU'] = 'CD853F';
        $this->name_to_hex['BURLYWOOD'] = 'DEB887';
        $this->name_to_hex['BEIGE'] = 'F5F5DC';
        $this->name_to_hex['WHEAT'] = 'F5DEB3';
        $this->name_to_hex['SANDY BROWN'] = 'F4A460';
        $this->name_to_hex['SANDYBROWN'] = 'F4A460';
        $this->name_to_hex['TAN'] = 'D2B48C';
        $this->name_to_hex['CHOCOLATE'] = 'D2691E';
        $this->name_to_hex['FIREBRICK'] = 'B22222';
        $this->name_to_hex['BROWN'] = 'A52A2A';
        $this->name_to_hex['DARK SALMON'] = 'E9967A';
        $this->name_to_hex['DARKSALMON'] = 'E9967A';
        $this->name_to_hex['SALMON'] = 'FA8072';
        $this->name_to_hex['LIGHT SALMON'] = 'FFA07A';
        $this->name_to_hex['LIGHTSALMON'] = 'FFA07A';
        $this->name_to_hex['ORANGE'] = 'FFA500';
        $this->name_to_hex['DARK ORANGE'] = 'FF8C00';
        $this->name_to_hex['DARKORANGE'] = 'FF8C00';
        $this->name_to_hex['CORAL'] = 'FF7F50';
        $this->name_to_hex['LIGHT CORAL'] = 'F08080';
        $this->name_to_hex['LIGHTCORAL'] = 'F08080';
        $this->name_to_hex['TOMATO'] = 'FF6347';
        $this->name_to_hex['ORANGE RED'] = 'FF4500';
        $this->name_to_hex['ORANGERED'] = 'FF4500';
        $this->name_to_hex['RED'] = 'FF0000';
        $this->name_to_hex['HOT PINK'] = 'FF69B4';
        $this->name_to_hex['HOTPINK'] = 'FF69B4';
        $this->name_to_hex['DEEP PINK'] = 'FF1493';
        $this->name_to_hex['DEEPPINK'] = 'FF1493';
        $this->name_to_hex['PINK'] = 'FFC0CB';
        $this->name_to_hex['LIGHT PINK'] = 'FFB6C1';
        $this->name_to_hex['LIGHTPINK'] = 'FFB6C1';
        $this->name_to_hex['PALE VIOLET RED'] = 'DB7093';
        $this->name_to_hex['PALEVIOLETRED'] = 'DB7093';
        $this->name_to_hex['MAROON'] = 'B03060';
        $this->name_to_hex['MEDIUM VIOLET RED'] = 'C71585';
        $this->name_to_hex['MEDIUMVIOLETRED'] = 'C71585';
        $this->name_to_hex['VIOLET RED'] = 'D02090';
        $this->name_to_hex['VIOLETRED'] = 'D02090';
        $this->name_to_hex['MAGENTA'] = 'FF00FF';
        $this->name_to_hex['VIOLET'] = 'EE82EE';
        $this->name_to_hex['PLUM'] = 'DDA0DD';
        $this->name_to_hex['ORCHID'] = 'DA70D6';
        $this->name_to_hex['MEDIUM ORCHID'] = 'BA55D3';
        $this->name_to_hex['MEDIUMORCHID'] = 'BA55D3';
        $this->name_to_hex['DARK ORCHID'] = '9932CC';
        $this->name_to_hex['DARKORCHID'] = '9932CC';
        $this->name_to_hex['DARK VIOLET'] = '9400D3';
        $this->name_to_hex['DARKVIOLET'] = '9400D3';
        $this->name_to_hex['BLUE VIOLET'] = '8A2BE2';
        $this->name_to_hex['BLUEVIOLET'] = '8A2BE2';
        $this->name_to_hex['PURPLE'] = 'A020F0';
        $this->name_to_hex['MEDIUM PURPLE'] = '9370DB';
        $this->name_to_hex['MEDIUMPURPLE'] = '9370DB';
        $this->name_to_hex['THISTLE'] = 'D8BFD8';
        $this->name_to_hex['SNOW1'] = 'FFFAFA';
        $this->name_to_hex['SNOW2'] = 'EEE9E9';
        $this->name_to_hex['SNOW3'] = 'CDC9C9';
        $this->name_to_hex['SNOW4'] = '8B8989';
        $this->name_to_hex['SEASHELL1'] = 'FFF5EE';
        $this->name_to_hex['SEASHELL2'] = 'EEE5DE';
        $this->name_to_hex['SEASHELL3'] = 'CDC5BF';
        $this->name_to_hex['SEASHELL4'] = '8B8682';
        $this->name_to_hex['ANTIQUEWHITE1'] = 'FFEFDB';
        $this->name_to_hex['ANTIQUEWHITE2'] = 'EEDFCC';
        $this->name_to_hex['ANTIQUEWHITE3'] = 'CDC0B0';
        $this->name_to_hex['ANTIQUEWHITE4'] = '8B8378';
        $this->name_to_hex['BISQUE1'] = 'FFE4C4';
        $this->name_to_hex['BISQUE2'] = 'EED5B7';
        $this->name_to_hex['BISQUE3'] = 'CDB79E';
        $this->name_to_hex['BISQUE4'] = '8B7D6B';
        $this->name_to_hex['PEACHPUFF1'] = 'FFDAB9';
        $this->name_to_hex['PEACHPUFF2'] = 'EECBAD';
        $this->name_to_hex['PEACHPUFF3'] = 'CDAF95';
        $this->name_to_hex['PEACHPUFF4'] = '8B7765';
        $this->name_to_hex['NAVAJOWHITE1'] = 'FFDEAD';
        $this->name_to_hex['NAVAJOWHITE2'] = 'EECFA1';
        $this->name_to_hex['NAVAJOWHITE3'] = 'CDB38B';
        $this->name_to_hex['NAVAJOWHITE4'] = '8B795E';
        $this->name_to_hex['LEMONCHIFFON1'] = 'FFFACD';
        $this->name_to_hex['LEMONCHIFFON2'] = 'EEE9BF';
        $this->name_to_hex['LEMONCHIFFON3'] = 'CDC9A5';
        $this->name_to_hex['LEMONCHIFFON4'] = '8B8970';
        $this->name_to_hex['CORNSILK1'] = 'FFF8DC';
        $this->name_to_hex['CORNSILK2'] = 'EEE8CD';
        $this->name_to_hex['CORNSILK3'] = 'CDC8B1';
        $this->name_to_hex['CORNSILK4'] = '8B8878';
        $this->name_to_hex['IVORY1'] = 'FFFFF0';
        $this->name_to_hex['IVORY2'] = 'EEEEE0';
        $this->name_to_hex['IVORY3'] = 'CDCDC1';
        $this->name_to_hex['IVORY4'] = '8B8B83';
        $this->name_to_hex['HONEYDEW1'] = 'F0FFF0';
        $this->name_to_hex['HONEYDEW2'] = 'E0EEE0';
        $this->name_to_hex['HONEYDEW3'] = 'C1CDC1';
        $this->name_to_hex['HONEYDEW4'] = '838B83';
        $this->name_to_hex['LAVENDERBLUSH1'] = 'FFF0F5';
        $this->name_to_hex['LAVENDERBLUSH2'] = 'EEE0E5';
        $this->name_to_hex['LAVENDERBLUSH3'] = 'CDC1C5';
        $this->name_to_hex['LAVENDERBLUSH4'] = '8B8386';
        $this->name_to_hex['MISTYROSE1'] = 'FFE4E1';
        $this->name_to_hex['MISTYROSE2'] = 'EED5D2';
        $this->name_to_hex['MISTYROSE3'] = 'CDB7B5';
        $this->name_to_hex['MISTYROSE4'] = '8B7D7B';
        $this->name_to_hex['AZURE1'] = 'F0FFFF';
        $this->name_to_hex['AZURE2'] = 'E0EEEE';
        $this->name_to_hex['AZURE3'] = 'C1CDCD';
        $this->name_to_hex['AZURE4'] = '838B8B';
        $this->name_to_hex['SLATEBLUE1'] = '836FFF';
        $this->name_to_hex['SLATEBLUE2'] = '7A67EE';
        $this->name_to_hex['SLATEBLUE3'] = '6959CD';
        $this->name_to_hex['SLATEBLUE4'] = '473C8B';
        $this->name_to_hex['ROYALBLUE1'] = '4876FF';
        $this->name_to_hex['ROYALBLUE2'] = '436EEE';
        $this->name_to_hex['ROYALBLUE3'] = '3A5FCD';
        $this->name_to_hex['ROYALBLUE4'] = '27408B';
        $this->name_to_hex['BLUE1'] = '0000FF';
        $this->name_to_hex['BLUE2'] = '0000EE';
        $this->name_to_hex['BLUE3'] = '0000CD';
        $this->name_to_hex['BLUE4'] = '00008B';
        $this->name_to_hex['DODGERBLUE1'] = '1E90FF';
        $this->name_to_hex['DODGERBLUE2'] = '1C86EE';
        $this->name_to_hex['DODGERBLUE3'] = '1874CD';
        $this->name_to_hex['DODGERBLUE4'] = '104E8B';
        $this->name_to_hex['STEELBLUE1'] = '63B8FF';
        $this->name_to_hex['STEELBLUE2'] = '5CACEE';
        $this->name_to_hex['STEELBLUE3'] = '4F94CD';
        $this->name_to_hex['STEELBLUE4'] = '36648B';
        $this->name_to_hex['DEEPSKYBLUE1'] = '00BFFF';
        $this->name_to_hex['DEEPSKYBLUE2'] = '00B2EE';
        $this->name_to_hex['DEEPSKYBLUE3'] = '009ACD';
        $this->name_to_hex['DEEPSKYBLUE4'] = '00688B';
        $this->name_to_hex['SKYBLUE1'] = '87CEFF';
        $this->name_to_hex['SKYBLUE2'] = '7EC0EE';
        $this->name_to_hex['SKYBLUE3'] = '6CA6CD';
        $this->name_to_hex['SKYBLUE4'] = '4A708B';
        $this->name_to_hex['LIGHTSKYBLUE1'] = 'B0E2FF';
        $this->name_to_hex['LIGHTSKYBLUE2'] = 'A4D3EE';
        $this->name_to_hex['LIGHTSKYBLUE3'] = '8DB6CD';
        $this->name_to_hex['LIGHTSKYBLUE4'] = '607B8B';
        $this->name_to_hex['SLATEGRAY1'] = 'C6E2FF';
        $this->name_to_hex['SLATEGRAY2'] = 'B9D3EE';
        $this->name_to_hex['SLATEGRAY3'] = '9FB6CD';
        $this->name_to_hex['SLATEGRAY4'] = '6C7B8B';
        $this->name_to_hex['LIGHTSTEELBLUE1'] = 'CAE1FF';
        $this->name_to_hex['LIGHTSTEELBLUE2'] = 'BCD2EE';
        $this->name_to_hex['LIGHTSTEELBLUE3'] = 'A2B5CD';
        $this->name_to_hex['LIGHTSTEELBLUE4'] = '6E7B8B';
        $this->name_to_hex['LIGHTBLUE1'] = 'BFEFFF';
        $this->name_to_hex['LIGHTBLUE2'] = 'B2DFEE';
        $this->name_to_hex['LIGHTBLUE3'] = '9AC0CD';
        $this->name_to_hex['LIGHTBLUE4'] = '68838B';
        $this->name_to_hex['LIGHTCYAN1'] = 'E0FFFF';
        $this->name_to_hex['LIGHTCYAN2'] = 'D1EEEE';
        $this->name_to_hex['LIGHTCYAN3'] = 'B4CDCD';
        $this->name_to_hex['LIGHTCYAN4'] = '7A8B8B';
        $this->name_to_hex['PALETURQUOISE1'] = 'BBFFFF';
        $this->name_to_hex['PALETURQUOISE2'] = 'AEEEEE';
        $this->name_to_hex['PALETURQUOISE3'] = '96CDCD';
        $this->name_to_hex['PALETURQUOISE4'] = '668B8B';
        $this->name_to_hex['CADETBLUE1'] = '98F5FF';
        $this->name_to_hex['CADETBLUE2'] = '8EE5EE';
        $this->name_to_hex['CADETBLUE3'] = '7AC5CD';
        $this->name_to_hex['CADETBLUE4'] = '53868B';
        $this->name_to_hex['TURQUOISE1'] = '00F5FF';
        $this->name_to_hex['TURQUOISE2'] = '00E5EE';
        $this->name_to_hex['TURQUOISE3'] = '00C5CD';
        $this->name_to_hex['TURQUOISE4'] = '00868B';
        $this->name_to_hex['CYAN1'] = '00FFFF';
        $this->name_to_hex['CYAN2'] = '00EEEE';
        $this->name_to_hex['CYAN3'] = '00CDCD';
        $this->name_to_hex['CYAN4'] = '008B8B';
        $this->name_to_hex['DARKSLATEGRAY1'] = '97FFFF';
        $this->name_to_hex['DARKSLATEGRAY2'] = '8DEEEE';
        $this->name_to_hex['DARKSLATEGRAY3'] = '79CDCD';
        $this->name_to_hex['DARKSLATEGRAY4'] = '528B8B';
        $this->name_to_hex['AQUAMARINE1'] = '7FFFD4';
        $this->name_to_hex['AQUAMARINE2'] = '76EEC6';
        $this->name_to_hex['AQUAMARINE3'] = '66CDAA';
        $this->name_to_hex['AQUAMARINE4'] = '458B74';
        $this->name_to_hex['DARKSEAGREEN1'] = 'C1FFC1';
        $this->name_to_hex['DARKSEAGREEN2'] = 'B4EEB4';
        $this->name_to_hex['DARKSEAGREEN3'] = '9BCD9B';
        $this->name_to_hex['DARKSEAGREEN4'] = '698B69';
        $this->name_to_hex['SEAGREEN1'] = '54FF9F';
        $this->name_to_hex['SEAGREEN2'] = '4EEE94';
        $this->name_to_hex['SEAGREEN3'] = '43CD80';
        $this->name_to_hex['SEAGREEN4'] = '2E8B57';
        $this->name_to_hex['PALEGREEN1'] = '9AFF9A';
        $this->name_to_hex['PALEGREEN2'] = '90EE90';
        $this->name_to_hex['PALEGREEN3'] = '7CCD7C';
        $this->name_to_hex['PALEGREEN4'] = '548B54';
        $this->name_to_hex['SPRINGGREEN1'] = '00FF7F';
        $this->name_to_hex['SPRINGGREEN2'] = '00EE76';
        $this->name_to_hex['SPRINGGREEN3'] = '00CD66';
        $this->name_to_hex['SPRINGGREEN4'] = '008B45';
        $this->name_to_hex['GREEN1'] = '00FF00';
        $this->name_to_hex['GREEN2'] = '00EE00';
        $this->name_to_hex['GREEN3'] = '00CD00';
        $this->name_to_hex['GREEN4'] = '008B00';
        $this->name_to_hex['CHARTREUSE1'] = '7FFF00';
        $this->name_to_hex['CHARTREUSE2'] = '76EE00';
        $this->name_to_hex['CHARTREUSE3'] = '66CD00';
        $this->name_to_hex['CHARTREUSE4'] = '458B00';
        $this->name_to_hex['OLIVEDRAB1'] = 'C0FF3E';
        $this->name_to_hex['OLIVEDRAB2'] = 'B3EE3A';
        $this->name_to_hex['OLIVEDRAB3'] = '9ACD32';
        $this->name_to_hex['OLIVEDRAB4'] = '698B22';
        $this->name_to_hex['DARKOLIVEGREEN1'] = 'CAFF70';
        $this->name_to_hex['DARKOLIVEGREEN2'] = 'BCEE68';
        $this->name_to_hex['DARKOLIVEGREEN3'] = 'A2CD5A';
        $this->name_to_hex['DARKOLIVEGREEN4'] = '6E8B3D';
        $this->name_to_hex['KHAKI1'] = 'FFF68F';
        $this->name_to_hex['KHAKI2'] = 'EEE685';
        $this->name_to_hex['KHAKI3'] = 'CDC673';
        $this->name_to_hex['KHAKI4'] = '8B864E';
        $this->name_to_hex['LIGHTGOLDENROD1'] = 'FFEC8B';
        $this->name_to_hex['LIGHTGOLDENROD2'] = 'EEDC82';
        $this->name_to_hex['LIGHTGOLDENROD3'] = 'CDBE70';
        $this->name_to_hex['LIGHTGOLDENROD4'] = '8B814C';
        $this->name_to_hex['LIGHTYELLOW1'] = 'FFFFE0';
        $this->name_to_hex['LIGHTYELLOW2'] = 'EEEED1';
        $this->name_to_hex['LIGHTYELLOW3'] = 'CDCDB4';
        $this->name_to_hex['LIGHTYELLOW4'] = '8B8B7A';
        $this->name_to_hex['YELLOW1'] = 'FFFF00';
        $this->name_to_hex['YELLOW2'] = 'EEEE00';
        $this->name_to_hex['YELLOW3'] = 'CDCD00';
        $this->name_to_hex['YELLOW4'] = '8B8B00';
        $this->name_to_hex['GOLD1'] = 'FFD700';
        $this->name_to_hex['GOLD2'] = 'EEC900';
        $this->name_to_hex['GOLD3'] = 'CDAD00';
        $this->name_to_hex['GOLD4'] = '8B7500';
        $this->name_to_hex['GOLDENROD1'] = 'FFC125';
        $this->name_to_hex['GOLDENROD2'] = 'EEB422';
        $this->name_to_hex['GOLDENROD3'] = 'CD9B1D';
        $this->name_to_hex['GOLDENROD4'] = '8B6914';
        $this->name_to_hex['DARKGOLDENROD1'] = 'FFB90F';
        $this->name_to_hex['DARKGOLDENROD2'] = 'EEAD0E';
        $this->name_to_hex['DARKGOLDENROD3'] = 'CD950C';
        $this->name_to_hex['DARKGOLDENROD4'] = '8B6508';
        $this->name_to_hex['ROSYBROWN1'] = 'FFC1C1';
        $this->name_to_hex['ROSYBROWN2'] = 'EEB4B4';
        $this->name_to_hex['ROSYBROWN3'] = 'CD9B9B';
        $this->name_to_hex['ROSYBROWN4'] = '8B6969';
        $this->name_to_hex['INDIANRED1'] = 'FF6A6A';
        $this->name_to_hex['INDIANRED2'] = 'EE6363';
        $this->name_to_hex['INDIANRED3'] = 'CD5555';
        $this->name_to_hex['INDIANRED4'] = '8B3A3A';
        $this->name_to_hex['SIENNA1'] = 'FF8247';
        $this->name_to_hex['SIENNA2'] = 'EE7942';
        $this->name_to_hex['SIENNA3'] = 'CD6839';
        $this->name_to_hex['SIENNA4'] = '8B4726';
        $this->name_to_hex['BURLYWOOD1'] = 'FFD39B';
        $this->name_to_hex['BURLYWOOD2'] = 'EEC591';
        $this->name_to_hex['BURLYWOOD3'] = 'CDAA7D';
        $this->name_to_hex['BURLYWOOD4'] = '8B7355';
        $this->name_to_hex['WHEAT1'] = 'FFE7BA';
        $this->name_to_hex['WHEAT2'] = 'EED8AE';
        $this->name_to_hex['WHEAT3'] = 'CDBA96';
        $this->name_to_hex['WHEAT4'] = '8B7E66';
        $this->name_to_hex['TAN1'] = 'FFA54F';
        $this->name_to_hex['TAN2'] = 'EE9A49';
        $this->name_to_hex['TAN3'] = 'CD853F';
        $this->name_to_hex['TAN4'] = '8B5A2B';
        $this->name_to_hex['CHOCOLATE1'] = 'FF7F24';
        $this->name_to_hex['CHOCOLATE2'] = 'EE7621';
        $this->name_to_hex['CHOCOLATE3'] = 'CD661D';
        $this->name_to_hex['CHOCOLATE4'] = '8B4513';
        $this->name_to_hex['FIREBRICK1'] = 'FF3030';
        $this->name_to_hex['FIREBRICK2'] = 'EE2C2C';
        $this->name_to_hex['FIREBRICK3'] = 'CD2626';
        $this->name_to_hex['FIREBRICK4'] = '8B1A1A';
        $this->name_to_hex['BROWN1'] = 'FF4040';
        $this->name_to_hex['BROWN2'] = 'EE3B3B';
        $this->name_to_hex['BROWN3'] = 'CD3333';
        $this->name_to_hex['BROWN4'] = '8B2323';
        $this->name_to_hex['SALMON1'] = 'FF8C69';
        $this->name_to_hex['SALMON2'] = 'EE8262';
        $this->name_to_hex['SALMON3'] = 'CD7054';
        $this->name_to_hex['SALMON4'] = '8B4C39';
        $this->name_to_hex['LIGHTSALMON1'] = 'FFA07A';
        $this->name_to_hex['LIGHTSALMON2'] = 'EE9572';
        $this->name_to_hex['LIGHTSALMON3'] = 'CD8162';
        $this->name_to_hex['LIGHTSALMON4'] = '8B5742';
        $this->name_to_hex['ORANGE1'] = 'FFA500';
        $this->name_to_hex['ORANGE2'] = 'EE9A00';
        $this->name_to_hex['ORANGE3'] = 'CD8500';
        $this->name_to_hex['ORANGE4'] = '8B5A00';
        $this->name_to_hex['DARKORANGE1'] = 'FF7F00';
        $this->name_to_hex['DARKORANGE2'] = 'EE7600';
        $this->name_to_hex['DARKORANGE3'] = 'CD6600';
        $this->name_to_hex['DARKORANGE4'] = '8B4500';
        $this->name_to_hex['CORAL1'] = 'FF7256';
        $this->name_to_hex['CORAL2'] = 'EE6A50';
        $this->name_to_hex['CORAL3'] = 'CD5B45';
        $this->name_to_hex['CORAL4'] = '8B3E2F';
        $this->name_to_hex['TOMATO1'] = 'FF6347';
        $this->name_to_hex['TOMATO2'] = 'EE5C42';
        $this->name_to_hex['TOMATO3'] = 'CD4F39';
        $this->name_to_hex['TOMATO4'] = '8B3626';
        $this->name_to_hex['ORANGERED1'] = 'FF4500';
        $this->name_to_hex['ORANGERED2'] = 'EE4000';
        $this->name_to_hex['ORANGERED3'] = 'CD3700';
        $this->name_to_hex['ORANGERED4'] = '8B2500';
        $this->name_to_hex['RED1'] = 'FF0000';
        $this->name_to_hex['RED2'] = 'EE0000';
        $this->name_to_hex['RED3'] = 'CD0000';
        $this->name_to_hex['RED4'] = '8B0000';
        $this->name_to_hex['DEEPPINK1'] = 'FF1493';
        $this->name_to_hex['DEEPPINK2'] = 'EE1289';
        $this->name_to_hex['DEEPPINK3'] = 'CD1076';
        $this->name_to_hex['DEEPPINK4'] = '8B0A50';
        $this->name_to_hex['HOTPINK1'] = 'FF6EB4';
        $this->name_to_hex['HOTPINK2'] = 'EE6AA7';
        $this->name_to_hex['HOTPINK3'] = 'CD6090';
        $this->name_to_hex['HOTPINK4'] = '8B3A62';
        $this->name_to_hex['PINK1'] = 'FFB5C5';
        $this->name_to_hex['PINK2'] = 'EEA9B8';
        $this->name_to_hex['PINK3'] = 'CD919E';
        $this->name_to_hex['PINK4'] = '8B636C';
        $this->name_to_hex['LIGHTPINK1'] = 'FFAEB9';
        $this->name_to_hex['LIGHTPINK2'] = 'EEA2AD';
        $this->name_to_hex['LIGHTPINK3'] = 'CD8C95';
        $this->name_to_hex['LIGHTPINK4'] = '8B5F65';
        $this->name_to_hex['PALEVIOLETRED1'] = 'FF82AB';
        $this->name_to_hex['PALEVIOLETRED2'] = 'EE799F';
        $this->name_to_hex['PALEVIOLETRED3'] = 'CD6889';
        $this->name_to_hex['PALEVIOLETRED4'] = '8B475D';
        $this->name_to_hex['MAROON1'] = 'FF34B3';
        $this->name_to_hex['MAROON2'] = 'EE30A7';
        $this->name_to_hex['MAROON3'] = 'CD2990';
        $this->name_to_hex['MAROON4'] = '8B1C62';
        $this->name_to_hex['VIOLETRED1'] = 'FF3E96';
        $this->name_to_hex['VIOLETRED2'] = 'EE3A8C';
        $this->name_to_hex['VIOLETRED3'] = 'CD3278';
        $this->name_to_hex['VIOLETRED4'] = '8B2252';
        $this->name_to_hex['MAGENTA1'] = 'FF00FF';
        $this->name_to_hex['MAGENTA2'] = 'EE00EE';
        $this->name_to_hex['MAGENTA3'] = 'CD00CD';
        $this->name_to_hex['MAGENTA4'] = '8B008B';
        $this->name_to_hex['ORCHID1'] = 'FF83FA';
        $this->name_to_hex['ORCHID2'] = 'EE7AE9';
        $this->name_to_hex['ORCHID3'] = 'CD69C9';
        $this->name_to_hex['ORCHID4'] = '8B4789';
        $this->name_to_hex['PLUM1'] = 'FFBBFF';
        $this->name_to_hex['PLUM2'] = 'EEAEEE';
        $this->name_to_hex['PLUM3'] = 'CD96CD';
        $this->name_to_hex['PLUM4'] = '8B668B';
        $this->name_to_hex['MEDIUMORCHID1'] = 'E066FF';
        $this->name_to_hex['MEDIUMORCHID2'] = 'D15FEE';
        $this->name_to_hex['MEDIUMORCHID3'] = 'B452CD';
        $this->name_to_hex['MEDIUMORCHID4'] = '7A378B';
        $this->name_to_hex['DARKORCHID1'] = 'BF3EFF';
        $this->name_to_hex['DARKORCHID2'] = 'B23AEE';
        $this->name_to_hex['DARKORCHID3'] = '9A32CD';
        $this->name_to_hex['DARKORCHID4'] = '68228B';
        $this->name_to_hex['PURPLE1'] = '9B30FF';
        $this->name_to_hex['PURPLE2'] = '912CEE';
        $this->name_to_hex['PURPLE3'] = '7D26CD';
        $this->name_to_hex['PURPLE4'] = '551A8B';
        $this->name_to_hex['MEDIUMPURPLE1'] = 'AB82FF';
        $this->name_to_hex['MEDIUMPURPLE2'] = '9F79EE';
        $this->name_to_hex['MEDIUMPURPLE3'] = '8968CD';
        $this->name_to_hex['MEDIUMPURPLE4'] = '5D478B';
        $this->name_to_hex['THISTLE1'] = 'FFE1FF';
        $this->name_to_hex['THISTLE2'] = 'EED2EE';
        $this->name_to_hex['THISTLE3'] = 'CDB5CD';
        $this->name_to_hex['THISTLE4'] = '8B7B8B';
        $this->name_to_hex['GRAY0'] = '000000';
        $this->name_to_hex['GREY0'] = '000000';
        $this->name_to_hex['GRAY1'] = '030303';
        $this->name_to_hex['GREY1'] = '030303';
        $this->name_to_hex['GRAY2'] = '050505';
        $this->name_to_hex['GREY2'] = '050505';
        $this->name_to_hex['GRAY3'] = '080808';
        $this->name_to_hex['GREY3'] = '080808';
        $this->name_to_hex['GRAY4'] = '0A0A0A';
        $this->name_to_hex['GREY4'] = '0A0A0A';
        $this->name_to_hex['GRAY5'] = '0D0D0D';
        $this->name_to_hex['GREY5'] = '0D0D0D';
        $this->name_to_hex['GRAY6'] = '0F0F0F';
        $this->name_to_hex['GREY6'] = '0F0F0F';
        $this->name_to_hex['GRAY7'] = '121212';
        $this->name_to_hex['GREY7'] = '121212';
        $this->name_to_hex['GRAY8'] = '141414';
        $this->name_to_hex['GREY8'] = '141414';
        $this->name_to_hex['GRAY9'] = '171717';
        $this->name_to_hex['GREY9'] = '171717';
        $this->name_to_hex['GRAY10'] = '1A1A1A';
        $this->name_to_hex['GREY10'] = '1A1A1A';
        $this->name_to_hex['GRAY11'] = '1C1C1C';
        $this->name_to_hex['GREY11'] = '1C1C1C';
        $this->name_to_hex['GRAY12'] = '1F1F1F';
        $this->name_to_hex['GREY12'] = '1F1F1F';
        $this->name_to_hex['GRAY13'] = '212121';
        $this->name_to_hex['GREY13'] = '212121';
        $this->name_to_hex['GRAY14'] = '242424';
        $this->name_to_hex['GREY14'] = '242424';
        $this->name_to_hex['GRAY15'] = '262626';
        $this->name_to_hex['GREY15'] = '262626';
        $this->name_to_hex['GRAY16'] = '292929';
        $this->name_to_hex['GREY16'] = '292929';
        $this->name_to_hex['GRAY17'] = '2B2B2B';
        $this->name_to_hex['GREY17'] = '2B2B2B';
        $this->name_to_hex['GRAY18'] = '2E2E2E';
        $this->name_to_hex['GREY18'] = '2E2E2E';
        $this->name_to_hex['GRAY19'] = '303030';
        $this->name_to_hex['GREY19'] = '303030';
        $this->name_to_hex['GRAY20'] = '333333';
        $this->name_to_hex['GREY20'] = '333333';
        $this->name_to_hex['GRAY21'] = '363636';
        $this->name_to_hex['GREY21'] = '363636';
        $this->name_to_hex['GRAY22'] = '383838';
        $this->name_to_hex['GREY22'] = '383838';
        $this->name_to_hex['GRAY23'] = '3B3B3B';
        $this->name_to_hex['GREY23'] = '3B3B3B';
        $this->name_to_hex['GRAY24'] = '3D3D3D';
        $this->name_to_hex['GREY24'] = '3D3D3D';
        $this->name_to_hex['GRAY25'] = '404040';
        $this->name_to_hex['GREY25'] = '404040';
        $this->name_to_hex['GRAY26'] = '424242';
        $this->name_to_hex['GREY26'] = '424242';
        $this->name_to_hex['GRAY27'] = '454545';
        $this->name_to_hex['GREY27'] = '454545';
        $this->name_to_hex['GRAY28'] = '474747';
        $this->name_to_hex['GREY28'] = '474747';
        $this->name_to_hex['GRAY29'] = '4A4A4A';
        $this->name_to_hex['GREY29'] = '4A4A4A';
        $this->name_to_hex['GRAY30'] = '4D4D4D';
        $this->name_to_hex['GREY30'] = '4D4D4D';
        $this->name_to_hex['GRAY31'] = '4F4F4F';
        $this->name_to_hex['GREY31'] = '4F4F4F';
        $this->name_to_hex['GRAY32'] = '525252';
        $this->name_to_hex['GREY32'] = '525252';
        $this->name_to_hex['GRAY33'] = '545454';
        $this->name_to_hex['GREY33'] = '545454';
        $this->name_to_hex['GRAY34'] = '575757';
        $this->name_to_hex['GREY34'] = '575757';
        $this->name_to_hex['GRAY35'] = '595959';
        $this->name_to_hex['GREY35'] = '595959';
        $this->name_to_hex['GRAY36'] = '5C5C5C';
        $this->name_to_hex['GREY36'] = '5C5C5C';
        $this->name_to_hex['GRAY37'] = '5E5E5E';
        $this->name_to_hex['GREY37'] = '5E5E5E';
        $this->name_to_hex['GRAY38'] = '616161';
        $this->name_to_hex['GREY38'] = '616161';
        $this->name_to_hex['GRAY39'] = '636363';
        $this->name_to_hex['GREY39'] = '636363';
        $this->name_to_hex['GRAY40'] = '666666';
        $this->name_to_hex['GREY40'] = '666666';
        $this->name_to_hex['GRAY41'] = '696969';
        $this->name_to_hex['GREY41'] = '696969';
        $this->name_to_hex['GRAY42'] = '6B6B6B';
        $this->name_to_hex['GREY42'] = '6B6B6B';
        $this->name_to_hex['GRAY43'] = '6E6E6E';
        $this->name_to_hex['GREY43'] = '6E6E6E';
        $this->name_to_hex['GRAY44'] = '707070';
        $this->name_to_hex['GREY44'] = '707070';
        $this->name_to_hex['GRAY45'] = '737373';
        $this->name_to_hex['GREY45'] = '737373';
        $this->name_to_hex['GRAY46'] = '757575';
        $this->name_to_hex['GREY46'] = '757575';
        $this->name_to_hex['GRAY47'] = '787878';
        $this->name_to_hex['GREY47'] = '787878';
        $this->name_to_hex['GRAY48'] = '7A7A7A';
        $this->name_to_hex['GREY48'] = '7A7A7A';
        $this->name_to_hex['GRAY49'] = '7D7D7D';
        $this->name_to_hex['GREY49'] = '7D7D7D';
        $this->name_to_hex['GRAY50'] = '7F7F7F';
        $this->name_to_hex['GREY50'] = '7F7F7F';
        $this->name_to_hex['GRAY51'] = '828282';
        $this->name_to_hex['GREY51'] = '828282';
        $this->name_to_hex['GRAY52'] = '858585';
        $this->name_to_hex['GREY52'] = '858585';
        $this->name_to_hex['GRAY53'] = '878787';
        $this->name_to_hex['GREY53'] = '878787';
        $this->name_to_hex['GRAY54'] = '8A8A8A';
        $this->name_to_hex['GREY54'] = '8A8A8A';
        $this->name_to_hex['GRAY55'] = '8C8C8C';
        $this->name_to_hex['GREY55'] = '8C8C8C';
        $this->name_to_hex['GRAY56'] = '8F8F8F';
        $this->name_to_hex['GREY56'] = '8F8F8F';
        $this->name_to_hex['GRAY57'] = '919191';
        $this->name_to_hex['GREY57'] = '919191';
        $this->name_to_hex['GRAY58'] = '949494';
        $this->name_to_hex['GREY58'] = '949494';
        $this->name_to_hex['GRAY59'] = '969696';
        $this->name_to_hex['GREY59'] = '969696';
        $this->name_to_hex['GRAY60'] = '999999';
        $this->name_to_hex['GREY60'] = '999999';
        $this->name_to_hex['GRAY61'] = '9C9C9C';
        $this->name_to_hex['GREY61'] = '9C9C9C';
        $this->name_to_hex['GRAY62'] = '9E9E9E';
        $this->name_to_hex['GREY62'] = '9E9E9E';
        $this->name_to_hex['GRAY63'] = 'A1A1A1';
        $this->name_to_hex['GREY63'] = 'A1A1A1';
        $this->name_to_hex['GRAY64'] = 'A3A3A3';
        $this->name_to_hex['GREY64'] = 'A3A3A3';
        $this->name_to_hex['GRAY65'] = 'A6A6A6';
        $this->name_to_hex['GREY65'] = 'A6A6A6';
        $this->name_to_hex['GRAY66'] = 'A8A8A8';
        $this->name_to_hex['GREY66'] = 'A8A8A8';
        $this->name_to_hex['GRAY67'] = 'ABABAB';
        $this->name_to_hex['GREY67'] = 'ABABAB';
        $this->name_to_hex['GRAY68'] = 'ADADAD';
        $this->name_to_hex['GREY68'] = 'ADADAD';
        $this->name_to_hex['GRAY69'] = 'B0B0B0';
        $this->name_to_hex['GREY69'] = 'B0B0B0';
        $this->name_to_hex['GRAY70'] = 'B3B3B3';
        $this->name_to_hex['GREY70'] = 'B3B3B3';
        $this->name_to_hex['GRAY71'] = 'B5B5B5';
        $this->name_to_hex['GREY71'] = 'B5B5B5';
        $this->name_to_hex['GRAY72'] = 'B8B8B8';
        $this->name_to_hex['GREY72'] = 'B8B8B8';
        $this->name_to_hex['GRAY73'] = 'BABABA';
        $this->name_to_hex['GREY73'] = 'BABABA';
        $this->name_to_hex['GRAY74'] = 'BDBDBD';
        $this->name_to_hex['GREY74'] = 'BDBDBD';
        $this->name_to_hex['GRAY75'] = 'BFBFBF';
        $this->name_to_hex['GREY75'] = 'BFBFBF';
        $this->name_to_hex['GRAY76'] = 'C2C2C2';
        $this->name_to_hex['GREY76'] = 'C2C2C2';
        $this->name_to_hex['GRAY77'] = 'C4C4C4';
        $this->name_to_hex['GREY77'] = 'C4C4C4';
        $this->name_to_hex['GRAY78'] = 'C7C7C7';
        $this->name_to_hex['GREY78'] = 'C7C7C7';
        $this->name_to_hex['GRAY79'] = 'C9C9C9';
        $this->name_to_hex['GREY79'] = 'C9C9C9';
        $this->name_to_hex['GRAY80'] = 'CCCCCC';
        $this->name_to_hex['GREY80'] = 'CCCCCC';
        $this->name_to_hex['GRAY81'] = 'CFCFCF';
        $this->name_to_hex['GREY81'] = 'CFCFCF';
        $this->name_to_hex['GRAY82'] = 'D1D1D1';
        $this->name_to_hex['GREY82'] = 'D1D1D1';
        $this->name_to_hex['GRAY83'] = 'D4D4D4';
        $this->name_to_hex['GREY83'] = 'D4D4D4';
        $this->name_to_hex['GRAY84'] = 'D6D6D6';
        $this->name_to_hex['GREY84'] = 'D6D6D6';
        $this->name_to_hex['GRAY85'] = 'D9D9D9';
        $this->name_to_hex['GREY85'] = 'D9D9D9';
        $this->name_to_hex['GRAY86'] = 'DBDBDB';
        $this->name_to_hex['GREY86'] = 'DBDBDB';
        $this->name_to_hex['GRAY87'] = 'DEDEDE';
        $this->name_to_hex['GREY87'] = 'DEDEDE';
        $this->name_to_hex['GRAY88'] = 'E0E0E0';
        $this->name_to_hex['GREY88'] = 'E0E0E0';
        $this->name_to_hex['GRAY89'] = 'E3E3E3';
        $this->name_to_hex['GREY89'] = 'E3E3E3';
        $this->name_to_hex['GRAY90'] = 'E5E5E5';
        $this->name_to_hex['GREY90'] = 'E5E5E5';
        $this->name_to_hex['GRAY91'] = 'E8E8E8';
        $this->name_to_hex['GREY91'] = 'E8E8E8';
        $this->name_to_hex['GRAY92'] = 'EBEBEB';
        $this->name_to_hex['GREY92'] = 'EBEBEB';
        $this->name_to_hex['GRAY93'] = 'EDEDED';
        $this->name_to_hex['GREY93'] = 'EDEDED';
        $this->name_to_hex['GRAY94'] = 'F0F0F0';
        $this->name_to_hex['GREY94'] = 'F0F0F0';
        $this->name_to_hex['GRAY95'] = 'F2F2F2';
        $this->name_to_hex['GREY95'] = 'F2F2F2';
        $this->name_to_hex['GRAY96'] = 'F5F5F5';
        $this->name_to_hex['GREY96'] = 'F5F5F5';
        $this->name_to_hex['GRAY97'] = 'F7F7F7';
        $this->name_to_hex['GREY97'] = 'F7F7F7';
        $this->name_to_hex['GRAY98'] = 'FAFAFA';
        $this->name_to_hex['GREY98'] = 'FAFAFA';
        $this->name_to_hex['GRAY99'] = 'FCFCFC';
        $this->name_to_hex['GREY99'] = 'FCFCFC';
        $this->name_to_hex['GRAY100'] = 'FFFFFF';
        $this->name_to_hex['GREY100'] = 'FFFFFF';
        // ----------------------$this->hex_to_name['FFFAFA']='SNOW';
        $this->hex_to_name['F8F8FF'] = 'GHOST WHITE';
        $this->hex_to_name['F8F8FF'] = 'GHOSTWHITE';
        $this->hex_to_name['F5F5F5'] = 'WHITE SMOKE';
        $this->hex_to_name['F5F5F5'] = 'WHITESMOKE';
        $this->hex_to_name['DCDCDC'] = 'GAINSBORO';
        $this->hex_to_name['FFFAF0'] = 'FLORAL WHITE';
        $this->hex_to_name['FFFAF0'] = 'FLORALWHITE';
        $this->hex_to_name['FDF5E6'] = 'OLD LACE';
        $this->hex_to_name['FDF5E6'] = 'OLDLACE';
        $this->hex_to_name['FAF0E6'] = 'LINEN';
        $this->hex_to_name['FAEBD7'] = 'ANTIQUE WHITE';
        $this->hex_to_name['FAEBD7'] = 'ANTIQUEWHITE';
        $this->hex_to_name['FFEFD5'] = 'PAPAYA WHIP';
        $this->hex_to_name['FFEFD5'] = 'PAPAYAWHIP';
        $this->hex_to_name['FFEBCD'] = 'BLANCHED ALMOND';
        $this->hex_to_name['FFEBCD'] = 'BLANCHEDALMOND';
        $this->hex_to_name['FFE4C4'] = 'BISQUE';
        $this->hex_to_name['FFDAB9'] = 'PEACH PUFF';
        $this->hex_to_name['FFDAB9'] = 'PEACHPUFF';
        $this->hex_to_name['FFDEAD'] = 'NAVAJO WHITE';
        $this->hex_to_name['FFDEAD'] = 'NAVAJOWHITE';
        $this->hex_to_name['FFE4B5'] = 'MOCCASIN';
        $this->hex_to_name['FFF8DC'] = 'CORNSILK';
        $this->hex_to_name['FFFFF0'] = 'IVORY';
        $this->hex_to_name['FFFACD'] = 'LEMON CHIFFON';
        $this->hex_to_name['FFFACD'] = 'LEMONCHIFFON';
        $this->hex_to_name['FFF5EE'] = 'SEASHELL';
        $this->hex_to_name['F0FFF0'] = 'HONEYDEW';
        $this->hex_to_name['F5FFFA'] = 'MINT CREAM';
        $this->hex_to_name['F5FFFA'] = 'MINTCREAM';
        $this->hex_to_name['F0FFFF'] = 'AZURE';
        $this->hex_to_name['F0F8FF'] = 'ALICE BLUE';
        $this->hex_to_name['F0F8FF'] = 'ALICEBLUE';
        $this->hex_to_name['E6E6FA'] = 'LAVENDER';
        $this->hex_to_name['FFF0F5'] = 'LAVENDER BLUSH';
        $this->hex_to_name['FFF0F5'] = 'LAVENDERBLUSH';
        $this->hex_to_name['FFE4E1'] = 'MISTY ROSE';
        $this->hex_to_name['FFE4E1'] = 'MISTYROSE';
        $this->hex_to_name['FFFFFF'] = 'WHITE';
        $this->hex_to_name['000000'] = 'BLACK';
        $this->hex_to_name['2F4F4F'] = 'DARK SLATE GRAY';
        $this->hex_to_name['2F4F4F'] = 'DARKSLATEGRAY';
        $this->hex_to_name['2F4F4F'] = 'DARK SLATE GREY';
        $this->hex_to_name['2F4F4F'] = 'DARKSLATEGREY';
        $this->hex_to_name['696969'] = 'DIM GRAY';
        $this->hex_to_name['696969'] = 'DIMGRAY';
        $this->hex_to_name['696969'] = 'DIM GREY';
        $this->hex_to_name['696969'] = 'DIMGREY';
        $this->hex_to_name['708090'] = 'SLATE GRAY';
        $this->hex_to_name['708090'] = 'SLATEGRAY';
        $this->hex_to_name['708090'] = 'SLATE GREY';
        $this->hex_to_name['708090'] = 'SLATEGREY';
        $this->hex_to_name['778899'] = 'LIGHT SLATE GRAY';
        $this->hex_to_name['778899'] = 'LIGHTSLATEGRAY';
        $this->hex_to_name['778899'] = 'LIGHT SLATE GREY';
        $this->hex_to_name['778899'] = 'LIGHTSLATEGREY';
        $this->hex_to_name['BEBEBE'] = 'GRAY';
        $this->hex_to_name['BEBEBE'] = 'GREY';
        $this->hex_to_name['D3D3D3'] = 'LIGHT GREY';
        $this->hex_to_name['D3D3D3'] = 'LIGHTGREY';
        $this->hex_to_name['D3D3D3'] = 'LIGHT GRAY';
        $this->hex_to_name['D3D3D3'] = 'LIGHTGRAY';
        $this->hex_to_name['191970'] = 'MIDNIGHT BLUE';
        $this->hex_to_name['191970'] = 'MIDNIGHTBLUE';
        $this->hex_to_name['000080'] = 'NAVY';
        $this->hex_to_name['000080'] = 'NAVY BLUE';
        $this->hex_to_name['000080'] = 'NAVYBLUE';
        $this->hex_to_name['6495ED'] = 'CORNFLOWER BLUE';
        $this->hex_to_name['6495ED'] = 'CORNFLOWERBLUE';
        $this->hex_to_name['483D8B'] = 'DARK SLATE BLUE';
        $this->hex_to_name['483D8B'] = 'DARKSLATEBLUE';
        $this->hex_to_name['6A5ACD'] = 'SLATE BLUE';
        $this->hex_to_name['6A5ACD'] = 'SLATEBLUE';
        $this->hex_to_name['7B68EE'] = 'MEDIUM SLATE BLUE';
        $this->hex_to_name['7B68EE'] = 'MEDIUMSLATEBLUE';
        $this->hex_to_name['8470FF'] = 'LIGHT SLATE BLUE';
        $this->hex_to_name['8470FF'] = 'LIGHTSLATEBLUE';
        $this->hex_to_name['0000CD'] = 'MEDIUM BLUE';
        $this->hex_to_name['0000CD'] = 'MEDIUMBLUE';
        $this->hex_to_name['4169E1'] = 'ROYAL BLUE';
        $this->hex_to_name['4169E1'] = 'ROYALBLUE';
        $this->hex_to_name['0000FF'] = 'BLUE';
        $this->hex_to_name['1E90FF'] = 'DODGER BLUE';
        $this->hex_to_name['1E90FF'] = 'DODGERBLUE';
        $this->hex_to_name['00BFFF'] = 'DEEP SKY BLUE';
        $this->hex_to_name['00BFFF'] = 'DEEPSKYBLUE';
        $this->hex_to_name['87CEEB'] = 'SKY BLUE';
        $this->hex_to_name['87CEEB'] = 'SKYBLUE';
        $this->hex_to_name['87CEFA'] = 'LIGHT SKY BLUE';
        $this->hex_to_name['87CEFA'] = 'LIGHTSKYBLUE';
        $this->hex_to_name['4682B4'] = 'STEEL BLUE';
        $this->hex_to_name['4682B4'] = 'STEELBLUE';
        $this->hex_to_name['B0C4DE'] = 'LIGHT STEEL BLUE';
        $this->hex_to_name['B0C4DE'] = 'LIGHTSTEELBLUE';
        $this->hex_to_name['ADD8E6'] = 'LIGHT BLUE';
        $this->hex_to_name['ADD8E6'] = 'LIGHTBLUE';
        $this->hex_to_name['B0E0E6'] = 'POWDER BLUE';
        $this->hex_to_name['B0E0E6'] = 'POWDERBLUE';
        $this->hex_to_name['AFEEEE'] = 'PALE TURQUOISE';
        $this->hex_to_name['AFEEEE'] = 'PALETURQUOISE';
        $this->hex_to_name['00CED1'] = 'DARK TURQUOISE';
        $this->hex_to_name['00CED1'] = 'DARKTURQUOISE';
        $this->hex_to_name['48D1CC'] = 'MEDIUM TURQUOISE';
        $this->hex_to_name['48D1CC'] = 'MEDIUMTURQUOISE';
        $this->hex_to_name['40E0D0'] = 'TURQUOISE';
        $this->hex_to_name['00FFFF'] = 'CYAN';
        $this->hex_to_name['E0FFFF'] = 'LIGHT CYAN';
        $this->hex_to_name['E0FFFF'] = 'LIGHTCYAN';
        $this->hex_to_name['5F9EA0'] = 'CADET BLUE';
        $this->hex_to_name['5F9EA0'] = 'CADETBLUE';
        $this->hex_to_name['66CDAA'] = 'MEDIUM AQUAMARINE';
        $this->hex_to_name['66CDAA'] = 'MEDIUMAQUAMARINE';
        $this->hex_to_name['7FFFD4'] = 'AQUAMARINE';
        $this->hex_to_name['006400'] = 'DARK GREEN';
        $this->hex_to_name['006400'] = 'DARKGREEN';
        $this->hex_to_name['556B2F'] = 'DARK OLIVE GREEN';
        $this->hex_to_name['556B2F'] = 'DARKOLIVEGREEN';
        $this->hex_to_name['8FBC8F'] = 'DARK SEA GREEN';
        $this->hex_to_name['8FBC8F'] = 'DARKSEAGREEN';
        $this->hex_to_name['2E8B57'] = 'SEA GREEN';
        $this->hex_to_name['2E8B57'] = 'SEAGREEN';
        $this->hex_to_name['3CB371'] = 'MEDIUM SEA GREEN';
        $this->hex_to_name['3CB371'] = 'MEDIUMSEAGREEN';
        $this->hex_to_name['20B2AA'] = 'LIGHT SEA GREEN';
        $this->hex_to_name['20B2AA'] = 'LIGHTSEAGREEN';
        $this->hex_to_name['98FB98'] = 'PALE GREEN';
        $this->hex_to_name['98FB98'] = 'PALEGREEN';
        $this->hex_to_name['00FF7F'] = 'SPRING GREEN';
        $this->hex_to_name['00FF7F'] = 'SPRINGGREEN';
        $this->hex_to_name['7CFC00'] = 'LAWN GREEN';
        $this->hex_to_name['7CFC00'] = 'LAWNGREEN';
        $this->hex_to_name['00FF00'] = 'GREEN';
        $this->hex_to_name['7FFF00'] = 'CHARTREUSE';
        $this->hex_to_name['00FA9A'] = 'MEDIUM SPRING GREEN';
        $this->hex_to_name['00FA9A'] = 'MEDIUMSPRINGGREEN';
        $this->hex_to_name['ADFF2F'] = 'GREEN YELLOW';
        $this->hex_to_name['ADFF2F'] = 'GREENYELLOW';
        $this->hex_to_name['32CD32'] = 'LIME GREEN';
        $this->hex_to_name['32CD32'] = 'LIMEGREEN';
        $this->hex_to_name['9ACD32'] = 'YELLOW GREEN';
        $this->hex_to_name['9ACD32'] = 'YELLOWGREEN';
        $this->hex_to_name['228B22'] = 'FOREST GREEN';
        $this->hex_to_name['228B22'] = 'FORESTGREEN';
        $this->hex_to_name['6B8E23'] = 'OLIVE DRAB';
        $this->hex_to_name['6B8E23'] = 'OLIVEDRAB';
        $this->hex_to_name['BDB76B'] = 'DARK KHAKI';
        $this->hex_to_name['BDB76B'] = 'DARKKHAKI';
        $this->hex_to_name['F0E68C'] = 'KHAKI';
        $this->hex_to_name['EEE8AA'] = 'PALE GOLDENROD';
        $this->hex_to_name['EEE8AA'] = 'PALEGOLDENROD';
        $this->hex_to_name['FAFAD2'] = 'LIGHT GOLDENROD YELLOW';
        $this->hex_to_name['FAFAD2'] = 'LIGHTGOLDENRODYELLOW';
        $this->hex_to_name['FFFFE0'] = 'LIGHT YELLOW';
        $this->hex_to_name['FFFFE0'] = 'LIGHTYELLOW';
        $this->hex_to_name['FFFF00'] = 'YELLOW';
        $this->hex_to_name['FFD700'] = 'GOLD';
        $this->hex_to_name['EEDD82'] = 'LIGHT GOLDENROD';
        $this->hex_to_name['EEDD82'] = 'LIGHTGOLDENROD';
        $this->hex_to_name['DAA520'] = 'GOLDENROD';
        $this->hex_to_name['B8860B'] = 'DARK GOLDENROD';
        $this->hex_to_name['B8860B'] = 'DARKGOLDENROD';
        $this->hex_to_name['BC8F8F'] = 'ROSY BROWN';
        $this->hex_to_name['BC8F8F'] = 'ROSYBROWN';
        $this->hex_to_name['CD5C5C'] = 'INDIAN RED';
        $this->hex_to_name['CD5C5C'] = 'INDIANRED';
        $this->hex_to_name['8B4513'] = 'SADDLE BROWN';
        $this->hex_to_name['8B4513'] = 'SADDLEBROWN';
        $this->hex_to_name['A0522D'] = 'SIENNA';
        $this->hex_to_name['CD853F'] = 'PERU';
        $this->hex_to_name['DEB887'] = 'BURLYWOOD';
        $this->hex_to_name['F5F5DC'] = 'BEIGE';
        $this->hex_to_name['F5DEB3'] = 'WHEAT';
        $this->hex_to_name['F4A460'] = 'SANDY BROWN';
        $this->hex_to_name['F4A460'] = 'SANDYBROWN';
        $this->hex_to_name['D2B48C'] = 'TAN';
        $this->hex_to_name['D2691E'] = 'CHOCOLATE';
        $this->hex_to_name['B22222'] = 'FIREBRICK';
        $this->hex_to_name['A52A2A'] = 'BROWN';
        $this->hex_to_name['E9967A'] = 'DARK SALMON';
        $this->hex_to_name['E9967A'] = 'DARKSALMON';
        $this->hex_to_name['FA8072'] = 'SALMON';
        $this->hex_to_name['FFA07A'] = 'LIGHT SALMON';
        $this->hex_to_name['FFA07A'] = 'LIGHTSALMON';
        $this->hex_to_name['FFA500'] = 'ORANGE';
        $this->hex_to_name['FF8C00'] = 'DARK ORANGE';
        $this->hex_to_name['FF8C00'] = 'DARKORANGE';
        $this->hex_to_name['FF7F50'] = 'CORAL';
        $this->hex_to_name['F08080'] = 'LIGHT CORAL';
        $this->hex_to_name['F08080'] = 'LIGHTCORAL';
        $this->hex_to_name['FF6347'] = 'TOMATO';
        $this->hex_to_name['FF4500'] = 'ORANGE RED';
        $this->hex_to_name['FF4500'] = 'ORANGERED';
        $this->hex_to_name['FF0000'] = 'RED';
        $this->hex_to_name['FF69B4'] = 'HOT PINK';
        $this->hex_to_name['FF69B4'] = 'HOTPINK';
        $this->hex_to_name['FF1493'] = 'DEEP PINK';
        $this->hex_to_name['FF1493'] = 'DEEPPINK';
        $this->hex_to_name['FFC0CB'] = 'PINK';
        $this->hex_to_name['FFB6C1'] = 'LIGHT PINK';
        $this->hex_to_name['FFB6C1'] = 'LIGHTPINK';
        $this->hex_to_name['DB7093'] = 'PALE VIOLET RED';
        $this->hex_to_name['DB7093'] = 'PALEVIOLETRED';
        $this->hex_to_name['B03060'] = 'MAROON';
        $this->hex_to_name['C71585'] = 'MEDIUM VIOLET RED';
        $this->hex_to_name['C71585'] = 'MEDIUMVIOLETRED';
        $this->hex_to_name['D02090'] = 'VIOLET RED';
        $this->hex_to_name['D02090'] = 'VIOLETRED';
        $this->hex_to_name['FF00FF'] = 'MAGENTA';
        $this->hex_to_name['EE82EE'] = 'VIOLET';
        $this->hex_to_name['DDA0DD'] = 'PLUM';
        $this->hex_to_name['DA70D6'] = 'ORCHID';
        $this->hex_to_name['BA55D3'] = 'MEDIUM ORCHID';
        $this->hex_to_name['BA55D3'] = 'MEDIUMORCHID';
        $this->hex_to_name['9932CC'] = 'DARK ORCHID';
        $this->hex_to_name['9932CC'] = 'DARKORCHID';
        $this->hex_to_name['9400D3'] = 'DARK VIOLET';
        $this->hex_to_name['9400D3'] = 'DARKVIOLET';
        $this->hex_to_name['8A2BE2'] = 'BLUE VIOLET';
        $this->hex_to_name['8A2BE2'] = 'BLUEVIOLET';
        $this->hex_to_name['A020F0'] = 'PURPLE';
        $this->hex_to_name['9370DB'] = 'MEDIUM PURPLE';
        $this->hex_to_name['9370DB'] = 'MEDIUMPURPLE';
        $this->hex_to_name['D8BFD8'] = 'THISTLE';
        $this->hex_to_name['FFFAFA'] = 'SNOW1';
        $this->hex_to_name['EEE9E9'] = 'SNOW2';
        $this->hex_to_name['CDC9C9'] = 'SNOW3';
        $this->hex_to_name['8B8989'] = 'SNOW4';
        $this->hex_to_name['FFF5EE'] = 'SEASHELL1';
        $this->hex_to_name['EEE5DE'] = 'SEASHELL2';
        $this->hex_to_name['CDC5BF'] = 'SEASHELL3';
        $this->hex_to_name['8B8682'] = 'SEASHELL4';
        $this->hex_to_name['FFEFDB'] = 'ANTIQUEWHITE1';
        $this->hex_to_name['EEDFCC'] = 'ANTIQUEWHITE2';
        $this->hex_to_name['CDC0B0'] = 'ANTIQUEWHITE3';
        $this->hex_to_name['8B8378'] = 'ANTIQUEWHITE4';
        $this->hex_to_name['FFE4C4'] = 'BISQUE1';
        $this->hex_to_name['EED5B7'] = 'BISQUE2';
        $this->hex_to_name['CDB79E'] = 'BISQUE3';
        $this->hex_to_name['8B7D6B'] = 'BISQUE4';
        $this->hex_to_name['FFDAB9'] = 'PEACHPUFF1';
        $this->hex_to_name['EECBAD'] = 'PEACHPUFF2';
        $this->hex_to_name['CDAF95'] = 'PEACHPUFF3';
        $this->hex_to_name['8B7765'] = 'PEACHPUFF4';
        $this->hex_to_name['FFDEAD'] = 'NAVAJOWHITE1';
        $this->hex_to_name['EECFA1'] = 'NAVAJOWHITE2';
        $this->hex_to_name['CDB38B'] = 'NAVAJOWHITE3';
        $this->hex_to_name['8B795E'] = 'NAVAJOWHITE4';
        $this->hex_to_name['FFFACD'] = 'LEMONCHIFFON1';
        $this->hex_to_name['EEE9BF'] = 'LEMONCHIFFON2';
        $this->hex_to_name['CDC9A5'] = 'LEMONCHIFFON3';
        $this->hex_to_name['8B8970'] = 'LEMONCHIFFON4';
        $this->hex_to_name['FFF8DC'] = 'CORNSILK1';
        $this->hex_to_name['EEE8CD'] = 'CORNSILK2';
        $this->hex_to_name['CDC8B1'] = 'CORNSILK3';
        $this->hex_to_name['8B8878'] = 'CORNSILK4';
        $this->hex_to_name['FFFFF0'] = 'IVORY1';
        $this->hex_to_name['EEEEE0'] = 'IVORY2';
        $this->hex_to_name['CDCDC1'] = 'IVORY3';
        $this->hex_to_name['8B8B83'] = 'IVORY4';
        $this->hex_to_name['F0FFF0'] = 'HONEYDEW1';
        $this->hex_to_name['E0EEE0'] = 'HONEYDEW2';
        $this->hex_to_name['C1CDC1'] = 'HONEYDEW3';
        $this->hex_to_name['838B83'] = 'HONEYDEW4';
        $this->hex_to_name['FFF0F5'] = 'LAVENDERBLUSH1';
        $this->hex_to_name['EEE0E5'] = 'LAVENDERBLUSH2';
        $this->hex_to_name['CDC1C5'] = 'LAVENDERBLUSH3';
        $this->hex_to_name['8B8386'] = 'LAVENDERBLUSH4';
        $this->hex_to_name['FFE4E1'] = 'MISTYROSE1';
        $this->hex_to_name['EED5D2'] = 'MISTYROSE2';
        $this->hex_to_name['CDB7B5'] = 'MISTYROSE3';
        $this->hex_to_name['8B7D7B'] = 'MISTYROSE4';
        $this->hex_to_name['F0FFFF'] = 'AZURE1';
        $this->hex_to_name['E0EEEE'] = 'AZURE2';
        $this->hex_to_name['C1CDCD'] = 'AZURE3';
        $this->hex_to_name['838B8B'] = 'AZURE4';
        $this->hex_to_name['836FFF'] = 'SLATEBLUE1';
        $this->hex_to_name['7A67EE'] = 'SLATEBLUE2';
        $this->hex_to_name['6959CD'] = 'SLATEBLUE3';
        $this->hex_to_name['473C8B'] = 'SLATEBLUE4';
        $this->hex_to_name['4876FF'] = 'ROYALBLUE1';
        $this->hex_to_name['436EEE'] = 'ROYALBLUE2';
        $this->hex_to_name['3A5FCD'] = 'ROYALBLUE3';
        $this->hex_to_name['27408B'] = 'ROYALBLUE4';
        $this->hex_to_name['0000FF'] = 'BLUE1';
        $this->hex_to_name['0000EE'] = 'BLUE2';
        $this->hex_to_name['0000CD'] = 'BLUE3';
        $this->hex_to_name['00008B'] = 'BLUE4';
        $this->hex_to_name['1E90FF'] = 'DODGERBLUE1';
        $this->hex_to_name['1C86EE'] = 'DODGERBLUE2';
        $this->hex_to_name['1874CD'] = 'DODGERBLUE3';
        $this->hex_to_name['104E8B'] = 'DODGERBLUE4';
        $this->hex_to_name['63B8FF'] = 'STEELBLUE1';
        $this->hex_to_name['5CACEE'] = 'STEELBLUE2';
        $this->hex_to_name['4F94CD'] = 'STEELBLUE3';
        $this->hex_to_name['36648B'] = 'STEELBLUE4';
        $this->hex_to_name['00BFFF'] = 'DEEPSKYBLUE1';
        $this->hex_to_name['00B2EE'] = 'DEEPSKYBLUE2';
        $this->hex_to_name['009ACD'] = 'DEEPSKYBLUE3';
        $this->hex_to_name['00688B'] = 'DEEPSKYBLUE4';
        $this->hex_to_name['87CEFF'] = 'SKYBLUE1';
        $this->hex_to_name['7EC0EE'] = 'SKYBLUE2';
        $this->hex_to_name['6CA6CD'] = 'SKYBLUE3';
        $this->hex_to_name['4A708B'] = 'SKYBLUE4';
        $this->hex_to_name['B0E2FF'] = 'LIGHTSKYBLUE1';
        $this->hex_to_name['A4D3EE'] = 'LIGHTSKYBLUE2';
        $this->hex_to_name['8DB6CD'] = 'LIGHTSKYBLUE3';
        $this->hex_to_name['607B8B'] = 'LIGHTSKYBLUE4';
        $this->hex_to_name['C6E2FF'] = 'SLATEGRAY1';
        $this->hex_to_name['B9D3EE'] = 'SLATEGRAY2';
        $this->hex_to_name['9FB6CD'] = 'SLATEGRAY3';
        $this->hex_to_name['6C7B8B'] = 'SLATEGRAY4';
        $this->hex_to_name['CAE1FF'] = 'LIGHTSTEELBLUE1';
        $this->hex_to_name['BCD2EE'] = 'LIGHTSTEELBLUE2';
        $this->hex_to_name['A2B5CD'] = 'LIGHTSTEELBLUE3';
        $this->hex_to_name['6E7B8B'] = 'LIGHTSTEELBLUE4';
        $this->hex_to_name['BFEFFF'] = 'LIGHTBLUE1';
        $this->hex_to_name['B2DFEE'] = 'LIGHTBLUE2';
        $this->hex_to_name['9AC0CD'] = 'LIGHTBLUE3';
        $this->hex_to_name['68838B'] = 'LIGHTBLUE4';
        $this->hex_to_name['E0FFFF'] = 'LIGHTCYAN1';
        $this->hex_to_name['D1EEEE'] = 'LIGHTCYAN2';
        $this->hex_to_name['B4CDCD'] = 'LIGHTCYAN3';
        $this->hex_to_name['7A8B8B'] = 'LIGHTCYAN4';
        $this->hex_to_name['BBFFFF'] = 'PALETURQUOISE1';
        $this->hex_to_name['AEEEEE'] = 'PALETURQUOISE2';
        $this->hex_to_name['96CDCD'] = 'PALETURQUOISE3';
        $this->hex_to_name['668B8B'] = 'PALETURQUOISE4';
        $this->hex_to_name['98F5FF'] = 'CADETBLUE1';
        $this->hex_to_name['8EE5EE'] = 'CADETBLUE2';
        $this->hex_to_name['7AC5CD'] = 'CADETBLUE3';
        $this->hex_to_name['53868B'] = 'CADETBLUE4';
        $this->hex_to_name['00F5FF'] = 'TURQUOISE1';
        $this->hex_to_name['00E5EE'] = 'TURQUOISE2';
        $this->hex_to_name['00C5CD'] = 'TURQUOISE3';
        $this->hex_to_name['00868B'] = 'TURQUOISE4';
        $this->hex_to_name['00FFFF'] = 'CYAN1';
        $this->hex_to_name['00EEEE'] = 'CYAN2';
        $this->hex_to_name['00CDCD'] = 'CYAN3';
        $this->hex_to_name['008B8B'] = 'CYAN4';
        $this->hex_to_name['97FFFF'] = 'DARKSLATEGRAY1';
        $this->hex_to_name['8DEEEE'] = 'DARKSLATEGRAY2';
        $this->hex_to_name['79CDCD'] = 'DARKSLATEGRAY3';
        $this->hex_to_name['528B8B'] = 'DARKSLATEGRAY4';
        $this->hex_to_name['7FFFD4'] = 'AQUAMARINE1';
        $this->hex_to_name['76EEC6'] = 'AQUAMARINE2';
        $this->hex_to_name['66CDAA'] = 'AQUAMARINE3';
        $this->hex_to_name['458B74'] = 'AQUAMARINE4';
        $this->hex_to_name['C1FFC1'] = 'DARKSEAGREEN1';
        $this->hex_to_name['B4EEB4'] = 'DARKSEAGREEN2';
        $this->hex_to_name['9BCD9B'] = 'DARKSEAGREEN3';
        $this->hex_to_name['698B69'] = 'DARKSEAGREEN4';
        $this->hex_to_name['54FF9F'] = 'SEAGREEN1';
        $this->hex_to_name['4EEE94'] = 'SEAGREEN2';
        $this->hex_to_name['43CD80'] = 'SEAGREEN3';
        $this->hex_to_name['2E8B57'] = 'SEAGREEN4';
        $this->hex_to_name['9AFF9A'] = 'PALEGREEN1';
        $this->hex_to_name['90EE90'] = 'PALEGREEN2';
        $this->hex_to_name['7CCD7C'] = 'PALEGREEN3';
        $this->hex_to_name['548B54'] = 'PALEGREEN4';
        $this->hex_to_name['00FF7F'] = 'SPRINGGREEN1';
        $this->hex_to_name['00EE76'] = 'SPRINGGREEN2';
        $this->hex_to_name['00CD66'] = 'SPRINGGREEN3';
        $this->hex_to_name['008B45'] = 'SPRINGGREEN4';
        $this->hex_to_name['00FF00'] = 'GREEN1';
        $this->hex_to_name['00EE00'] = 'GREEN2';
        $this->hex_to_name['00CD00'] = 'GREEN3';
        $this->hex_to_name['008B00'] = 'GREEN4';
        $this->hex_to_name['7FFF00'] = 'CHARTREUSE1';
        $this->hex_to_name['76EE00'] = 'CHARTREUSE2';
        $this->hex_to_name['66CD00'] = 'CHARTREUSE3';
        $this->hex_to_name['458B00'] = 'CHARTREUSE4';
        $this->hex_to_name['C0FF3E'] = 'OLIVEDRAB1';
        $this->hex_to_name['B3EE3A'] = 'OLIVEDRAB2';
        $this->hex_to_name['9ACD32'] = 'OLIVEDRAB3';
        $this->hex_to_name['698B22'] = 'OLIVEDRAB4';
        $this->hex_to_name['CAFF70'] = 'DARKOLIVEGREEN1';
        $this->hex_to_name['BCEE68'] = 'DARKOLIVEGREEN2';
        $this->hex_to_name['A2CD5A'] = 'DARKOLIVEGREEN3';
        $this->hex_to_name['6E8B3D'] = 'DARKOLIVEGREEN4';
        $this->hex_to_name['FFF68F'] = 'KHAKI1';
        $this->hex_to_name['EEE685'] = 'KHAKI2';
        $this->hex_to_name['CDC673'] = 'KHAKI3';
        $this->hex_to_name['8B864E'] = 'KHAKI4';
        $this->hex_to_name['FFEC8B'] = 'LIGHTGOLDENROD1';
        $this->hex_to_name['EEDC82'] = 'LIGHTGOLDENROD2';
        $this->hex_to_name['CDBE70'] = 'LIGHTGOLDENROD3';
        $this->hex_to_name['8B814C'] = 'LIGHTGOLDENROD4';
        $this->hex_to_name['FFFFE0'] = 'LIGHTYELLOW1';
        $this->hex_to_name['EEEED1'] = 'LIGHTYELLOW2';
        $this->hex_to_name['CDCDB4'] = 'LIGHTYELLOW3';
        $this->hex_to_name['8B8B7A'] = 'LIGHTYELLOW4';
        $this->hex_to_name['FFFF00'] = 'YELLOW1';
        $this->hex_to_name['EEEE00'] = 'YELLOW2';
        $this->hex_to_name['CDCD00'] = 'YELLOW3';
        $this->hex_to_name['8B8B00'] = 'YELLOW4';
        $this->hex_to_name['FFD700'] = 'GOLD1';
        $this->hex_to_name['EEC900'] = 'GOLD2';
        $this->hex_to_name['CDAD00'] = 'GOLD3';
        $this->hex_to_name['8B7500'] = 'GOLD4';
        $this->hex_to_name['FFC125'] = 'GOLDENROD1';
        $this->hex_to_name['EEB422'] = 'GOLDENROD2';
        $this->hex_to_name['CD9B1D'] = 'GOLDENROD3';
        $this->hex_to_name['8B6914'] = 'GOLDENROD4';
        $this->hex_to_name['FFB90F'] = 'DARKGOLDENROD1';
        $this->hex_to_name['EEAD0E'] = 'DARKGOLDENROD2';
        $this->hex_to_name['CD950C'] = 'DARKGOLDENROD3';
        $this->hex_to_name['8B6508'] = 'DARKGOLDENROD4';
        $this->hex_to_name['FFC1C1'] = 'ROSYBROWN1';
        $this->hex_to_name['EEB4B4'] = 'ROSYBROWN2';
        $this->hex_to_name['CD9B9B'] = 'ROSYBROWN3';
        $this->hex_to_name['8B6969'] = 'ROSYBROWN4';
        $this->hex_to_name['FF6A6A'] = 'INDIANRED1';
        $this->hex_to_name['EE6363'] = 'INDIANRED2';
        $this->hex_to_name['CD5555'] = 'INDIANRED3';
        $this->hex_to_name['8B3A3A'] = 'INDIANRED4';
        $this->hex_to_name['FF8247'] = 'SIENNA1';
        $this->hex_to_name['EE7942'] = 'SIENNA2';
        $this->hex_to_name['CD6839'] = 'SIENNA3';
        $this->hex_to_name['8B4726'] = 'SIENNA4';
        $this->hex_to_name['FFD39B'] = 'BURLYWOOD1';
        $this->hex_to_name['EEC591'] = 'BURLYWOOD2';
        $this->hex_to_name['CDAA7D'] = 'BURLYWOOD3';
        $this->hex_to_name['8B7355'] = 'BURLYWOOD4';
        $this->hex_to_name['FFE7BA'] = 'WHEAT1';
        $this->hex_to_name['EED8AE'] = 'WHEAT2';
        $this->hex_to_name['CDBA96'] = 'WHEAT3';
        $this->hex_to_name['8B7E66'] = 'WHEAT4';
        $this->hex_to_name['FFA54F'] = 'TAN1';
        $this->hex_to_name['EE9A49'] = 'TAN2';
        $this->hex_to_name['CD853F'] = 'TAN3';
        $this->hex_to_name['8B5A2B'] = 'TAN4';
        $this->hex_to_name['FF7F24'] = 'CHOCOLATE1';
        $this->hex_to_name['EE7621'] = 'CHOCOLATE2';
        $this->hex_to_name['CD661D'] = 'CHOCOLATE3';
        $this->hex_to_name['8B4513'] = 'CHOCOLATE4';
        $this->hex_to_name['FF3030'] = 'FIREBRICK1';
        $this->hex_to_name['EE2C2C'] = 'FIREBRICK2';
        $this->hex_to_name['CD2626'] = 'FIREBRICK3';
        $this->hex_to_name['8B1A1A'] = 'FIREBRICK4';
        $this->hex_to_name['FF4040'] = 'BROWN1';
        $this->hex_to_name['EE3B3B'] = 'BROWN2';
        $this->hex_to_name['CD3333'] = 'BROWN3';
        $this->hex_to_name['8B2323'] = 'BROWN4';
        $this->hex_to_name['FF8C69'] = 'SALMON1';
        $this->hex_to_name['EE8262'] = 'SALMON2';
        $this->hex_to_name['CD7054'] = 'SALMON3';
        $this->hex_to_name['8B4C39'] = 'SALMON4';
        $this->hex_to_name['FFA07A'] = 'LIGHTSALMON1';
        $this->hex_to_name['EE9572'] = 'LIGHTSALMON2';
        $this->hex_to_name['CD8162'] = 'LIGHTSALMON3';
        $this->hex_to_name['8B5742'] = 'LIGHTSALMON4';
        $this->hex_to_name['FFA500'] = 'ORANGE1';
        $this->hex_to_name['EE9A00'] = 'ORANGE2';
        $this->hex_to_name['CD8500'] = 'ORANGE3';
        $this->hex_to_name['8B5A00'] = 'ORANGE4';
        $this->hex_to_name['FF7F00'] = 'DARKORANGE1';
        $this->hex_to_name['EE7600'] = 'DARKORANGE2';
        $this->hex_to_name['CD6600'] = 'DARKORANGE3';
        $this->hex_to_name['8B4500'] = 'DARKORANGE4';
        $this->hex_to_name['FF7256'] = 'CORAL1';
        $this->hex_to_name['EE6A50'] = 'CORAL2';
        $this->hex_to_name['CD5B45'] = 'CORAL3';
        $this->hex_to_name['8B3E2F'] = 'CORAL4';
        $this->hex_to_name['FF6347'] = 'TOMATO1';
        $this->hex_to_name['EE5C42'] = 'TOMATO2';
        $this->hex_to_name['CD4F39'] = 'TOMATO3';
        $this->hex_to_name['8B3626'] = 'TOMATO4';
        $this->hex_to_name['FF4500'] = 'ORANGERED1';
        $this->hex_to_name['EE4000'] = 'ORANGERED2';
        $this->hex_to_name['CD3700'] = 'ORANGERED3';
        $this->hex_to_name['8B2500'] = 'ORANGERED4';
        $this->hex_to_name['FF0000'] = 'RED1';
        $this->hex_to_name['EE0000'] = 'RED2';
        $this->hex_to_name['CD0000'] = 'RED3';
        $this->hex_to_name['8B0000'] = 'RED4';
        $this->hex_to_name['FF1493'] = 'DEEPPINK1';
        $this->hex_to_name['EE1289'] = 'DEEPPINK2';
        $this->hex_to_name['CD1076'] = 'DEEPPINK3';
        $this->hex_to_name['8B0A50'] = 'DEEPPINK4';
        $this->hex_to_name['FF6EB4'] = 'HOTPINK1';
        $this->hex_to_name['EE6AA7'] = 'HOTPINK2';
        $this->hex_to_name['CD6090'] = 'HOTPINK3';
        $this->hex_to_name['8B3A62'] = 'HOTPINK4';
        $this->hex_to_name['FFB5C5'] = 'PINK1';
        $this->hex_to_name['EEA9B8'] = 'PINK2';
        $this->hex_to_name['CD919E'] = 'PINK3';
        $this->hex_to_name['8B636C'] = 'PINK4';
        $this->hex_to_name['FFAEB9'] = 'LIGHTPINK1';
        $this->hex_to_name['EEA2AD'] = 'LIGHTPINK2';
        $this->hex_to_name['CD8C95'] = 'LIGHTPINK3';
        $this->hex_to_name['8B5F65'] = 'LIGHTPINK4';
        $this->hex_to_name['FF82AB'] = 'PALEVIOLETRED1';
        $this->hex_to_name['EE799F'] = 'PALEVIOLETRED2';
        $this->hex_to_name['CD6889'] = 'PALEVIOLETRED3';
        $this->hex_to_name['8B475D'] = 'PALEVIOLETRED4';
        $this->hex_to_name['FF34B3'] = 'MAROON1';
        $this->hex_to_name['EE30A7'] = 'MAROON2';
        $this->hex_to_name['CD2990'] = 'MAROON3';
        $this->hex_to_name['8B1C62'] = 'MAROON4';
        $this->hex_to_name['FF3E96'] = 'VIOLETRED1';
        $this->hex_to_name['EE3A8C'] = 'VIOLETRED2';
        $this->hex_to_name['CD3278'] = 'VIOLETRED3';
        $this->hex_to_name['8B2252'] = 'VIOLETRED4';
        $this->hex_to_name['FF00FF'] = 'MAGENTA1';
        $this->hex_to_name['EE00EE'] = 'MAGENTA2';
        $this->hex_to_name['CD00CD'] = 'MAGENTA3';
        $this->hex_to_name['8B008B'] = 'MAGENTA4';
        $this->hex_to_name['FF83FA'] = 'ORCHID1';
        $this->hex_to_name['EE7AE9'] = 'ORCHID2';
        $this->hex_to_name['CD69C9'] = 'ORCHID3';
        $this->hex_to_name['8B4789'] = 'ORCHID4';
        $this->hex_to_name['FFBBFF'] = 'PLUM1';
        $this->hex_to_name['EEAEEE'] = 'PLUM2';
        $this->hex_to_name['CD96CD'] = 'PLUM3';
        $this->hex_to_name['8B668B'] = 'PLUM4';
        $this->hex_to_name['E066FF'] = 'MEDIUMORCHID1';
        $this->hex_to_name['D15FEE'] = 'MEDIUMORCHID2';
        $this->hex_to_name['B452CD'] = 'MEDIUMORCHID3';
        $this->hex_to_name['7A378B'] = 'MEDIUMORCHID4';
        $this->hex_to_name['BF3EFF'] = 'DARKORCHID1';
        $this->hex_to_name['B23AEE'] = 'DARKORCHID2';
        $this->hex_to_name['9A32CD'] = 'DARKORCHID3';
        $this->hex_to_name['68228B'] = 'DARKORCHID4';
        $this->hex_to_name['9B30FF'] = 'PURPLE1';
        $this->hex_to_name['912CEE'] = 'PURPLE2';
        $this->hex_to_name['7D26CD'] = 'PURPLE3';
        $this->hex_to_name['551A8B'] = 'PURPLE4';
        $this->hex_to_name['AB82FF'] = 'MEDIUMPURPLE1';
        $this->hex_to_name['9F79EE'] = 'MEDIUMPURPLE2';
        $this->hex_to_name['8968CD'] = 'MEDIUMPURPLE3';
        $this->hex_to_name['5D478B'] = 'MEDIUMPURPLE4';
        $this->hex_to_name['FFE1FF'] = 'THISTLE1';
        $this->hex_to_name['EED2EE'] = 'THISTLE2';
        $this->hex_to_name['CDB5CD'] = 'THISTLE3';
        $this->hex_to_name['8B7B8B'] = 'THISTLE4';
        $this->hex_to_name['000000'] = 'GRAY0';
        $this->hex_to_name['000000'] = 'GREY0';
        $this->hex_to_name['030303'] = 'GRAY1';
        $this->hex_to_name['030303'] = 'GREY1';
        $this->hex_to_name['050505'] = 'GRAY2';
        $this->hex_to_name['050505'] = 'GREY2';
        $this->hex_to_name['080808'] = 'GRAY3';
        $this->hex_to_name['080808'] = 'GREY3';
        $this->hex_to_name['0A0A0A'] = 'GRAY4';
        $this->hex_to_name['0A0A0A'] = 'GREY4';
        $this->hex_to_name['0D0D0D'] = 'GRAY5';
        $this->hex_to_name['0D0D0D'] = 'GREY5';
        $this->hex_to_name['0F0F0F'] = 'GRAY6';
        $this->hex_to_name['0F0F0F'] = 'GREY6';
        $this->hex_to_name['121212'] = 'GRAY7';
        $this->hex_to_name['121212'] = 'GREY7';
        $this->hex_to_name['141414'] = 'GRAY8';
        $this->hex_to_name['141414'] = 'GREY8';
        $this->hex_to_name['171717'] = 'GRAY9';
        $this->hex_to_name['171717'] = 'GREY9';
        $this->hex_to_name['1A1A1A'] = 'GRAY10';
        $this->hex_to_name['1A1A1A'] = 'GREY10';
        $this->hex_to_name['1C1C1C'] = 'GRAY11';
        $this->hex_to_name['1C1C1C'] = 'GREY11';
        $this->hex_to_name['1F1F1F'] = 'GRAY12';
        $this->hex_to_name['1F1F1F'] = 'GREY12';
        $this->hex_to_name['212121'] = 'GRAY13';
        $this->hex_to_name['212121'] = 'GREY13';
        $this->hex_to_name['242424'] = 'GRAY14';
        $this->hex_to_name['242424'] = 'GREY14';
        $this->hex_to_name['262626'] = 'GRAY15';
        $this->hex_to_name['262626'] = 'GREY15';
        $this->hex_to_name['292929'] = 'GRAY16';
        $this->hex_to_name['292929'] = 'GREY16';
        $this->hex_to_name['2B2B2B'] = 'GRAY17';
        $this->hex_to_name['2B2B2B'] = 'GREY17';
        $this->hex_to_name['2E2E2E'] = 'GRAY18';
        $this->hex_to_name['2E2E2E'] = 'GREY18';
        $this->hex_to_name['303030'] = 'GRAY19';
        $this->hex_to_name['303030'] = 'GREY19';
        $this->hex_to_name['333333'] = 'GRAY20';
        $this->hex_to_name['333333'] = 'GREY20';
        $this->hex_to_name['363636'] = 'GRAY21';
        $this->hex_to_name['363636'] = 'GREY21';
        $this->hex_to_name['383838'] = 'GRAY22';
        $this->hex_to_name['383838'] = 'GREY22';
        $this->hex_to_name['3B3B3B'] = 'GRAY23';
        $this->hex_to_name['3B3B3B'] = 'GREY23';
        $this->hex_to_name['3D3D3D'] = 'GRAY24';
        $this->hex_to_name['3D3D3D'] = 'GREY24';
        $this->hex_to_name['404040'] = 'GRAY25';
        $this->hex_to_name['404040'] = 'GREY25';
        $this->hex_to_name['424242'] = 'GRAY26';
        $this->hex_to_name['424242'] = 'GREY26';
        $this->hex_to_name['454545'] = 'GRAY27';
        $this->hex_to_name['454545'] = 'GREY27';
        $this->hex_to_name['474747'] = 'GRAY28';
        $this->hex_to_name['474747'] = 'GREY28';
        $this->hex_to_name['4A4A4A'] = 'GRAY29';
        $this->hex_to_name['4A4A4A'] = 'GREY29';
        $this->hex_to_name['4D4D4D'] = 'GRAY30';
        $this->hex_to_name['4D4D4D'] = 'GREY30';
        $this->hex_to_name['4F4F4F'] = 'GRAY31';
        $this->hex_to_name['4F4F4F'] = 'GREY31';
        $this->hex_to_name['525252'] = 'GRAY32';
        $this->hex_to_name['525252'] = 'GREY32';
        $this->hex_to_name['545454'] = 'GRAY33';
        $this->hex_to_name['545454'] = 'GREY33';
        $this->hex_to_name['575757'] = 'GRAY34';
        $this->hex_to_name['575757'] = 'GREY34';
        $this->hex_to_name['595959'] = 'GRAY35';
        $this->hex_to_name['595959'] = 'GREY35';
        $this->hex_to_name['5C5C5C'] = 'GRAY36';
        $this->hex_to_name['5C5C5C'] = 'GREY36';
        $this->hex_to_name['5E5E5E'] = 'GRAY37';
        $this->hex_to_name['5E5E5E'] = 'GREY37';
        $this->hex_to_name['616161'] = 'GRAY38';
        $this->hex_to_name['616161'] = 'GREY38';
        $this->hex_to_name['636363'] = 'GRAY39';
        $this->hex_to_name['636363'] = 'GREY39';
        $this->hex_to_name['666666'] = 'GRAY40';
        $this->hex_to_name['666666'] = 'GREY40';
        $this->hex_to_name['696969'] = 'GRAY41';
        $this->hex_to_name['696969'] = 'GREY41';
        $this->hex_to_name['6B6B6B'] = 'GRAY42';
        $this->hex_to_name['6B6B6B'] = 'GREY42';
        $this->hex_to_name['6E6E6E'] = 'GRAY43';
        $this->hex_to_name['6E6E6E'] = 'GREY43';
        $this->hex_to_name['707070'] = 'GRAY44';
        $this->hex_to_name['707070'] = 'GREY44';
        $this->hex_to_name['737373'] = 'GRAY45';
        $this->hex_to_name['737373'] = 'GREY45';
        $this->hex_to_name['757575'] = 'GRAY46';
        $this->hex_to_name['757575'] = 'GREY46';
        $this->hex_to_name['787878'] = 'GRAY47';
        $this->hex_to_name['787878'] = 'GREY47';
        $this->hex_to_name['7A7A7A'] = 'GRAY48';
        $this->hex_to_name['7A7A7A'] = 'GREY48';
        $this->hex_to_name['7D7D7D'] = 'GRAY49';
        $this->hex_to_name['7D7D7D'] = 'GREY49';
        $this->hex_to_name['7F7F7F'] = 'GRAY50';
        $this->hex_to_name['7F7F7F'] = 'GREY50';
        $this->hex_to_name['828282'] = 'GRAY51';
        $this->hex_to_name['828282'] = 'GREY51';
        $this->hex_to_name['858585'] = 'GRAY52';
        $this->hex_to_name['858585'] = 'GREY52';
        $this->hex_to_name['878787'] = 'GRAY53';
        $this->hex_to_name['878787'] = 'GREY53';
        $this->hex_to_name['8A8A8A'] = 'GRAY54';
        $this->hex_to_name['8A8A8A'] = 'GREY54';
        $this->hex_to_name['8C8C8C'] = 'GRAY55';
        $this->hex_to_name['8C8C8C'] = 'GREY55';
        $this->hex_to_name['8F8F8F'] = 'GRAY56';
        $this->hex_to_name['8F8F8F'] = 'GREY56';
        $this->hex_to_name['919191'] = 'GRAY57';
        $this->hex_to_name['919191'] = 'GREY57';
        $this->hex_to_name['949494'] = 'GRAY58';
        $this->hex_to_name['949494'] = 'GREY58';
        $this->hex_to_name['969696'] = 'GRAY59';
        $this->hex_to_name['969696'] = 'GREY59';
        $this->hex_to_name['999999'] = 'GRAY60';
        $this->hex_to_name['999999'] = 'GREY60';
        $this->hex_to_name['9C9C9C'] = 'GRAY61';
        $this->hex_to_name['9C9C9C'] = 'GREY61';
        $this->hex_to_name['9E9E9E'] = 'GRAY62';
        $this->hex_to_name['9E9E9E'] = 'GREY62';
        $this->hex_to_name['A1A1A1'] = 'GRAY63';
        $this->hex_to_name['A1A1A1'] = 'GREY63';
        $this->hex_to_name['A3A3A3'] = 'GRAY64';
        $this->hex_to_name['A3A3A3'] = 'GREY64';
        $this->hex_to_name['A6A6A6'] = 'GRAY65';
        $this->hex_to_name['A6A6A6'] = 'GREY65';
        $this->hex_to_name['A8A8A8'] = 'GRAY66';
        $this->hex_to_name['A8A8A8'] = 'GREY66';
        $this->hex_to_name['ABABAB'] = 'GRAY67';
        $this->hex_to_name['ABABAB'] = 'GREY67';
        $this->hex_to_name['ADADAD'] = 'GRAY68';
        $this->hex_to_name['ADADAD'] = 'GREY68';
        $this->hex_to_name['B0B0B0'] = 'GRAY69';
        $this->hex_to_name['B0B0B0'] = 'GREY69';
        $this->hex_to_name['B3B3B3'] = 'GRAY70';
        $this->hex_to_name['B3B3B3'] = 'GREY70';
        $this->hex_to_name['B5B5B5'] = 'GRAY71';
        $this->hex_to_name['B5B5B5'] = 'GREY71';
        $this->hex_to_name['B8B8B8'] = 'GRAY72';
        $this->hex_to_name['B8B8B8'] = 'GREY72';
        $this->hex_to_name['BABABA'] = 'GRAY73';
        $this->hex_to_name['BABABA'] = 'GREY73';
        $this->hex_to_name['BDBDBD'] = 'GRAY74';
        $this->hex_to_name['BDBDBD'] = 'GREY74';
        $this->hex_to_name['BFBFBF'] = 'GRAY75';
        $this->hex_to_name['BFBFBF'] = 'GREY75';
        $this->hex_to_name['C2C2C2'] = 'GRAY76';
        $this->hex_to_name['C2C2C2'] = 'GREY76';
        $this->hex_to_name['C4C4C4'] = 'GRAY77';
        $this->hex_to_name['C4C4C4'] = 'GREY77';
        $this->hex_to_name['C7C7C7'] = 'GRAY78';
        $this->hex_to_name['C7C7C7'] = 'GREY78';
        $this->hex_to_name['C9C9C9'] = 'GRAY79';
        $this->hex_to_name['C9C9C9'] = 'GREY79';
        $this->hex_to_name['CCCCCC'] = 'GRAY80';
        $this->hex_to_name['CCCCCC'] = 'GREY80';
        $this->hex_to_name['CFCFCF'] = 'GRAY81';
        $this->hex_to_name['CFCFCF'] = 'GREY81';
        $this->hex_to_name['D1D1D1'] = 'GRAY82';
        $this->hex_to_name['D1D1D1'] = 'GREY82';
        $this->hex_to_name['D4D4D4'] = 'GRAY83';
        $this->hex_to_name['D4D4D4'] = 'GREY83';
        $this->hex_to_name['D6D6D6'] = 'GRAY84';
        $this->hex_to_name['D6D6D6'] = 'GREY84';
        $this->hex_to_name['D9D9D9'] = 'GRAY85';
        $this->hex_to_name['D9D9D9'] = 'GREY85';
        $this->hex_to_name['DBDBDB'] = 'GRAY86';
        $this->hex_to_name['DBDBDB'] = 'GREY86';
        $this->hex_to_name['DEDEDE'] = 'GRAY87';
        $this->hex_to_name['DEDEDE'] = 'GREY87';
        $this->hex_to_name['E0E0E0'] = 'GRAY88';
        $this->hex_to_name['E0E0E0'] = 'GREY88';
        $this->hex_to_name['E3E3E3'] = 'GRAY89';
        $this->hex_to_name['E3E3E3'] = 'GREY89';
        $this->hex_to_name['E5E5E5'] = 'GRAY90';
        $this->hex_to_name['E5E5E5'] = 'GREY90';
        $this->hex_to_name['E8E8E8'] = 'GRAY91';
        $this->hex_to_name['E8E8E8'] = 'GREY91';
        $this->hex_to_name['EBEBEB'] = 'GRAY92';
        $this->hex_to_name['EBEBEB'] = 'GREY92';
        $this->hex_to_name['EDEDED'] = 'GRAY93';
        $this->hex_to_name['EDEDED'] = 'GREY93';
        $this->hex_to_name['F0F0F0'] = 'GRAY94';
        $this->hex_to_name['F0F0F0'] = 'GREY94';
        $this->hex_to_name['F2F2F2'] = 'GRAY95';
        $this->hex_to_name['F2F2F2'] = 'GREY95';
        $this->hex_to_name['F5F5F5'] = 'GRAY96';
        $this->hex_to_name['F5F5F5'] = 'GREY96';
        $this->hex_to_name['F7F7F7'] = 'GRAY97';
        $this->hex_to_name['F7F7F7'] = 'GREY97';
        $this->hex_to_name['FAFAFA'] = 'GRAY98';
        $this->hex_to_name['FAFAFA'] = 'GREY98';
        $this->hex_to_name['FCFCFC'] = 'GRAY99';
        $this->hex_to_name['FCFCFC'] = 'GREY99';
        $this->hex_to_name['FFFFFF'] = 'GRAY100';
        $this->hex_to_name['FFFFFF'] = 'GREY100';
        // ----------------------$this->hex_to_rgb['FFFAFA']='255 250 250';
        $this->hex_to_rgb['F8F8FF'] = '248 248 255';
        $this->hex_to_rgb['F8F8FF'] = '248 248 255';
        $this->hex_to_rgb['F5F5F5'] = '245 245 245';
        $this->hex_to_rgb['F5F5F5'] = '245 245 245';
        $this->hex_to_rgb['DCDCDC'] = '220 220 220';
        $this->hex_to_rgb['FFFAF0'] = '255 250 240';
        $this->hex_to_rgb['FFFAF0'] = '255 250 240';
        $this->hex_to_rgb['FDF5E6'] = '253 245 230';
        $this->hex_to_rgb['FDF5E6'] = '253 245 230';
        $this->hex_to_rgb['FAF0E6'] = '250 240 230';
        $this->hex_to_rgb['FAEBD7'] = '250 235 215';
        $this->hex_to_rgb['FAEBD7'] = '250 235 215';
        $this->hex_to_rgb['FFEFD5'] = '255 239 213';
        $this->hex_to_rgb['FFEFD5'] = '255 239 213';
        $this->hex_to_rgb['FFEBCD'] = '255 235 205';
        $this->hex_to_rgb['FFEBCD'] = '255 235 205';
        $this->hex_to_rgb['FFE4C4'] = '255 228 196';
        $this->hex_to_rgb['FFDAB9'] = '255 218 185';
        $this->hex_to_rgb['FFDAB9'] = '255 218 185';
        $this->hex_to_rgb['FFDEAD'] = '255 222 173';
        $this->hex_to_rgb['FFDEAD'] = '255 222 173';
        $this->hex_to_rgb['FFE4B5'] = '255 228 181';
        $this->hex_to_rgb['FFF8DC'] = '255 248 220';
        $this->hex_to_rgb['FFFFF0'] = '255 255 240';
        $this->hex_to_rgb['FFFACD'] = '255 250 205';
        $this->hex_to_rgb['FFFACD'] = '255 250 205';
        $this->hex_to_rgb['FFF5EE'] = '255 245 238';
        $this->hex_to_rgb['F0FFF0'] = '240 255 240';
        $this->hex_to_rgb['F5FFFA'] = '245 255 250';
        $this->hex_to_rgb['F5FFFA'] = '245 255 250';
        $this->hex_to_rgb['F0FFFF'] = '240 255 255';
        $this->hex_to_rgb['F0F8FF'] = '240 248 255';
        $this->hex_to_rgb['F0F8FF'] = '240 248 255';
        $this->hex_to_rgb['E6E6FA'] = '230 230 250';
        $this->hex_to_rgb['FFF0F5'] = '255 240 245';
        $this->hex_to_rgb['FFF0F5'] = '255 240 245';
        $this->hex_to_rgb['FFE4E1'] = '255 228 225';
        $this->hex_to_rgb['FFE4E1'] = '255 228 225';
        $this->hex_to_rgb['FFFFFF'] = '255 255 255';
        $this->hex_to_rgb['000000'] = '0 0 0';
        $this->hex_to_rgb['2F4F4F'] = '47 79 79';
        $this->hex_to_rgb['2F4F4F'] = '47 79 79';
        $this->hex_to_rgb['2F4F4F'] = '47 79 79';
        $this->hex_to_rgb['2F4F4F'] = '47 79 79';
        $this->hex_to_rgb['696969'] = '105 105 105';
        $this->hex_to_rgb['696969'] = '105 105 105';
        $this->hex_to_rgb['696969'] = '105 105 105';
        $this->hex_to_rgb['696969'] = '105 105 105';
        $this->hex_to_rgb['708090'] = '112 128 144';
        $this->hex_to_rgb['708090'] = '112 128 144';
        $this->hex_to_rgb['708090'] = '112 128 144';
        $this->hex_to_rgb['708090'] = '112 128 144';
        $this->hex_to_rgb['778899'] = '119 136 153';
        $this->hex_to_rgb['778899'] = '119 136 153';
        $this->hex_to_rgb['778899'] = '119 136 153';
        $this->hex_to_rgb['778899'] = '119 136 153';
        $this->hex_to_rgb['BEBEBE'] = '190 190 190';
        $this->hex_to_rgb['BEBEBE'] = '190 190 190';
        $this->hex_to_rgb['D3D3D3'] = '211 211 211';
        $this->hex_to_rgb['D3D3D3'] = '211 211 211';
        $this->hex_to_rgb['D3D3D3'] = '211 211 211';
        $this->hex_to_rgb['D3D3D3'] = '211 211 211';
        $this->hex_to_rgb['191970'] = '25 25 112';
        $this->hex_to_rgb['191970'] = '25 25 112';
        $this->hex_to_rgb['000080'] = '0 0 128';
        $this->hex_to_rgb['000080'] = '0 0 128';
        $this->hex_to_rgb['000080'] = '0 0 128';
        $this->hex_to_rgb['6495ED'] = '100 149 237';
        $this->hex_to_rgb['6495ED'] = '100 149 237';
        $this->hex_to_rgb['483D8B'] = '72 61 139';
        $this->hex_to_rgb['483D8B'] = '72 61 139';
        $this->hex_to_rgb['6A5ACD'] = '106 90 205';
        $this->hex_to_rgb['6A5ACD'] = '106 90 205';
        $this->hex_to_rgb['7B68EE'] = '123 104 238';
        $this->hex_to_rgb['7B68EE'] = '123 104 238';
        $this->hex_to_rgb['8470FF'] = '132 112 255';
        $this->hex_to_rgb['8470FF'] = '132 112 255';
        $this->hex_to_rgb['0000CD'] = '0 0 205';
        $this->hex_to_rgb['0000CD'] = '0 0 205';
        $this->hex_to_rgb['4169E1'] = '65 105 225';
        $this->hex_to_rgb['4169E1'] = '65 105 225';
        $this->hex_to_rgb['0000FF'] = '0 0 255';
        $this->hex_to_rgb['1E90FF'] = '30 144 255';
        $this->hex_to_rgb['1E90FF'] = '30 144 255';
        $this->hex_to_rgb['00BFFF'] = '0 191 255';
        $this->hex_to_rgb['00BFFF'] = '0 191 255';
        $this->hex_to_rgb['87CEEB'] = '135 206 235';
        $this->hex_to_rgb['87CEEB'] = '135 206 235';
        $this->hex_to_rgb['87CEFA'] = '135 206 250';
        $this->hex_to_rgb['87CEFA'] = '135 206 250';
        $this->hex_to_rgb['4682B4'] = '70 130 180';
        $this->hex_to_rgb['4682B4'] = '70 130 180';
        $this->hex_to_rgb['B0C4DE'] = '176 196 222';
        $this->hex_to_rgb['B0C4DE'] = '176 196 222';
        $this->hex_to_rgb['ADD8E6'] = '173 216 230';
        $this->hex_to_rgb['ADD8E6'] = '173 216 230';
        $this->hex_to_rgb['B0E0E6'] = '176 224 230';
        $this->hex_to_rgb['B0E0E6'] = '176 224 230';
        $this->hex_to_rgb['AFEEEE'] = '175 238 238';
        $this->hex_to_rgb['AFEEEE'] = '175 238 238';
        $this->hex_to_rgb['00CED1'] = '0 206 209';
        $this->hex_to_rgb['00CED1'] = '0 206 209';
        $this->hex_to_rgb['48D1CC'] = '72 209 204';
        $this->hex_to_rgb['48D1CC'] = '72 209 204';
        $this->hex_to_rgb['40E0D0'] = '64 224 208';
        $this->hex_to_rgb['00FFFF'] = '0 255 255';
        $this->hex_to_rgb['E0FFFF'] = '224 255 255';
        $this->hex_to_rgb['E0FFFF'] = '224 255 255';
        $this->hex_to_rgb['5F9EA0'] = '95 158 160';
        $this->hex_to_rgb['5F9EA0'] = '95 158 160';
        $this->hex_to_rgb['66CDAA'] = '102 205 170';
        $this->hex_to_rgb['66CDAA'] = '102 205 170';
        $this->hex_to_rgb['7FFFD4'] = '127 255 212';
        $this->hex_to_rgb['006400'] = '0 100 0';
        $this->hex_to_rgb['006400'] = '0 100 0';
        $this->hex_to_rgb['556B2F'] = '85 107 47';
        $this->hex_to_rgb['556B2F'] = '85 107 47';
        $this->hex_to_rgb['8FBC8F'] = '143 188 143';
        $this->hex_to_rgb['8FBC8F'] = '143 188 143';
        $this->hex_to_rgb['2E8B57'] = '46 139 87';
        $this->hex_to_rgb['2E8B57'] = '46 139 87';
        $this->hex_to_rgb['3CB371'] = '60 179 113';
        $this->hex_to_rgb['3CB371'] = '60 179 113';
        $this->hex_to_rgb['20B2AA'] = '32 178 170';
        $this->hex_to_rgb['20B2AA'] = '32 178 170';
        $this->hex_to_rgb['98FB98'] = '152 251 152';
        $this->hex_to_rgb['98FB98'] = '152 251 152';
        $this->hex_to_rgb['00FF7F'] = '0 255 127';
        $this->hex_to_rgb['00FF7F'] = '0 255 127';
        $this->hex_to_rgb['7CFC00'] = '124 252 0';
        $this->hex_to_rgb['7CFC00'] = '124 252 0';
        $this->hex_to_rgb['00FF00'] = '0 255 0';
        $this->hex_to_rgb['7FFF00'] = '127 255 0';
        $this->hex_to_rgb['00FA9A'] = '0 250 154';
        $this->hex_to_rgb['00FA9A'] = '0 250 154';
        $this->hex_to_rgb['ADFF2F'] = '173 255 47';
        $this->hex_to_rgb['ADFF2F'] = '173 255 47';
        $this->hex_to_rgb['32CD32'] = '50 205 50';
        $this->hex_to_rgb['32CD32'] = '50 205 50';
        $this->hex_to_rgb['9ACD32'] = '154 205 50';
        $this->hex_to_rgb['9ACD32'] = '154 205 50';
        $this->hex_to_rgb['228B22'] = '34 139 34';
        $this->hex_to_rgb['228B22'] = '34 139 34';
        $this->hex_to_rgb['6B8E23'] = '107 142 35';
        $this->hex_to_rgb['6B8E23'] = '107 142 35';
        $this->hex_to_rgb['BDB76B'] = '189 183 107';
        $this->hex_to_rgb['BDB76B'] = '189 183 107';
        $this->hex_to_rgb['F0E68C'] = '240 230 140';
        $this->hex_to_rgb['EEE8AA'] = '238 232 170';
        $this->hex_to_rgb['EEE8AA'] = '238 232 170';
        $this->hex_to_rgb['FAFAD2'] = '250 250 210';
        $this->hex_to_rgb['FAFAD2'] = '250 250 210';
        $this->hex_to_rgb['FFFFE0'] = '255 255 224';
        $this->hex_to_rgb['FFFFE0'] = '255 255 224';
        $this->hex_to_rgb['FFFF00'] = '255 255 0';
        $this->hex_to_rgb['FFD700'] = '255 215 0';
        $this->hex_to_rgb['EEDD82'] = '238 221 130';
        $this->hex_to_rgb['EEDD82'] = '238 221 130';
        $this->hex_to_rgb['DAA520'] = '218 165 32';
        $this->hex_to_rgb['B8860B'] = '184 134 11';
        $this->hex_to_rgb['B8860B'] = '184 134 11';
        $this->hex_to_rgb['BC8F8F'] = '188 143 143';
        $this->hex_to_rgb['BC8F8F'] = '188 143 143';
        $this->hex_to_rgb['CD5C5C'] = '205 92 92';
        $this->hex_to_rgb['CD5C5C'] = '205 92 92';
        $this->hex_to_rgb['8B4513'] = '139 69 19';
        $this->hex_to_rgb['8B4513'] = '139 69 19';
        $this->hex_to_rgb['A0522D'] = '160 82 45';
        $this->hex_to_rgb['CD853F'] = '205 133 63';
        $this->hex_to_rgb['DEB887'] = '222 184 135';
        $this->hex_to_rgb['F5F5DC'] = '245 245 220';
        $this->hex_to_rgb['F5DEB3'] = '245 222 179';
        $this->hex_to_rgb['F4A460'] = '244 164 96';
        $this->hex_to_rgb['F4A460'] = '244 164 96';
        $this->hex_to_rgb['D2B48C'] = '210 180 140';
        $this->hex_to_rgb['D2691E'] = '210 105 30';
        $this->hex_to_rgb['B22222'] = '178 34 34';
        $this->hex_to_rgb['A52A2A'] = '165 42 42';
        $this->hex_to_rgb['E9967A'] = '233 150 122';
        $this->hex_to_rgb['E9967A'] = '233 150 122';
        $this->hex_to_rgb['FA8072'] = '250 128 114';
        $this->hex_to_rgb['FFA07A'] = '255 160 122';
        $this->hex_to_rgb['FFA07A'] = '255 160 122';
        $this->hex_to_rgb['FFA500'] = '255 165 0';
        $this->hex_to_rgb['FF8C00'] = '255 140 0';
        $this->hex_to_rgb['FF8C00'] = '255 140 0';
        $this->hex_to_rgb['FF7F50'] = '255 127 80';
        $this->hex_to_rgb['F08080'] = '240 128 128';
        $this->hex_to_rgb['F08080'] = '240 128 128';
        $this->hex_to_rgb['FF6347'] = '255 99 71';
        $this->hex_to_rgb['FF4500'] = '255 69 0';
        $this->hex_to_rgb['FF4500'] = '255 69 0';
        $this->hex_to_rgb['FF0000'] = '255 0 0';
        $this->hex_to_rgb['FF69B4'] = '255 105 180';
        $this->hex_to_rgb['FF69B4'] = '255 105 180';
        $this->hex_to_rgb['FF1493'] = '255 20 147';
        $this->hex_to_rgb['FF1493'] = '255 20 147';
        $this->hex_to_rgb['FFC0CB'] = '255 192 203';
        $this->hex_to_rgb['FFB6C1'] = '255 182 193';
        $this->hex_to_rgb['FFB6C1'] = '255 182 193';
        $this->hex_to_rgb['DB7093'] = '219 112 147';
        $this->hex_to_rgb['DB7093'] = '219 112 147';
        $this->hex_to_rgb['B03060'] = '176 48 96';
        $this->hex_to_rgb['C71585'] = '199 21 133';
        $this->hex_to_rgb['C71585'] = '199 21 133';
        $this->hex_to_rgb['D02090'] = '208 32 144';
        $this->hex_to_rgb['D02090'] = '208 32 144';
        $this->hex_to_rgb['FF00FF'] = '255 0 255';
        $this->hex_to_rgb['EE82EE'] = '238 130 238';
        $this->hex_to_rgb['DDA0DD'] = '221 160 221';
        $this->hex_to_rgb['DA70D6'] = '218 112 214';
        $this->hex_to_rgb['BA55D3'] = '186 85 211';
        $this->hex_to_rgb['BA55D3'] = '186 85 211';
        $this->hex_to_rgb['9932CC'] = '153 50 204';
        $this->hex_to_rgb['9932CC'] = '153 50 204';
        $this->hex_to_rgb['9400D3'] = '148 0 211';
        $this->hex_to_rgb['9400D3'] = '148 0 211';
        $this->hex_to_rgb['8A2BE2'] = '138 43 226';
        $this->hex_to_rgb['8A2BE2'] = '138 43 226';
        $this->hex_to_rgb['A020F0'] = '160 32 240';
        $this->hex_to_rgb['9370DB'] = '147 112 219';
        $this->hex_to_rgb['9370DB'] = '147 112 219';
        $this->hex_to_rgb['D8BFD8'] = '216 191 216';
        $this->hex_to_rgb['FFFAFA'] = '255 250 250';
        $this->hex_to_rgb['EEE9E9'] = '238 233 233';
        $this->hex_to_rgb['CDC9C9'] = '205 201 201';
        $this->hex_to_rgb['8B8989'] = '139 137 137';
        $this->hex_to_rgb['FFF5EE'] = '255 245 238';
        $this->hex_to_rgb['EEE5DE'] = '238 229 222';
        $this->hex_to_rgb['CDC5BF'] = '205 197 191';
        $this->hex_to_rgb['8B8682'] = '139 134 130';
        $this->hex_to_rgb['FFEFDB'] = '255 239 219';
        $this->hex_to_rgb['EEDFCC'] = '238 223 204';
        $this->hex_to_rgb['CDC0B0'] = '205 192 176';
        $this->hex_to_rgb['8B8378'] = '139 131 120';
        $this->hex_to_rgb['FFE4C4'] = '255 228 196';
        $this->hex_to_rgb['EED5B7'] = '238 213 183';
        $this->hex_to_rgb['CDB79E'] = '205 183 158';
        $this->hex_to_rgb['8B7D6B'] = '139 125 107';
        $this->hex_to_rgb['FFDAB9'] = '255 218 185';
        $this->hex_to_rgb['EECBAD'] = '238 203 173';
        $this->hex_to_rgb['CDAF95'] = '205 175 149';
        $this->hex_to_rgb['8B7765'] = '139 119 101';
        $this->hex_to_rgb['FFDEAD'] = '255 222 173';
        $this->hex_to_rgb['EECFA1'] = '238 207 161';
        $this->hex_to_rgb['CDB38B'] = '205 179 139';
        $this->hex_to_rgb['8B795E'] = '139 121 94';
        $this->hex_to_rgb['FFFACD'] = '255 250 205';
        $this->hex_to_rgb['EEE9BF'] = '238 233 191';
        $this->hex_to_rgb['CDC9A5'] = '205 201 165';
        $this->hex_to_rgb['8B8970'] = '139 137 112';
        $this->hex_to_rgb['FFF8DC'] = '255 248 220';
        $this->hex_to_rgb['EEE8CD'] = '238 232 205';
        $this->hex_to_rgb['CDC8B1'] = '205 200 177';
        $this->hex_to_rgb['8B8878'] = '139 136 120';
        $this->hex_to_rgb['FFFFF0'] = '255 255 240';
        $this->hex_to_rgb['EEEEE0'] = '238 238 224';
        $this->hex_to_rgb['CDCDC1'] = '205 205 193';
        $this->hex_to_rgb['8B8B83'] = '139 139 131';
        $this->hex_to_rgb['F0FFF0'] = '240 255 240';
        $this->hex_to_rgb['E0EEE0'] = '224 238 224';
        $this->hex_to_rgb['C1CDC1'] = '193 205 193';
        $this->hex_to_rgb['838B83'] = '131 139 131';
        $this->hex_to_rgb['FFF0F5'] = '255 240 245';
        $this->hex_to_rgb['EEE0E5'] = '238 224 229';
        $this->hex_to_rgb['CDC1C5'] = '205 193 197';
        $this->hex_to_rgb['8B8386'] = '139 131 134';
        $this->hex_to_rgb['FFE4E1'] = '255 228 225';
        $this->hex_to_rgb['EED5D2'] = '238 213 210';
        $this->hex_to_rgb['CDB7B5'] = '205 183 181';
        $this->hex_to_rgb['8B7D7B'] = '139 125 123';
        $this->hex_to_rgb['F0FFFF'] = '240 255 255';
        $this->hex_to_rgb['E0EEEE'] = '224 238 238';
        $this->hex_to_rgb['C1CDCD'] = '193 205 205';
        $this->hex_to_rgb['838B8B'] = '131 139 139';
        $this->hex_to_rgb['836FFF'] = '131 111 255';
        $this->hex_to_rgb['7A67EE'] = '122 103 238';
        $this->hex_to_rgb['6959CD'] = '105 89 205';
        $this->hex_to_rgb['473C8B'] = '71 60 139';
        $this->hex_to_rgb['4876FF'] = '72 118 255';
        $this->hex_to_rgb['436EEE'] = '67 110 238';
        $this->hex_to_rgb['3A5FCD'] = '58 95 205';
        $this->hex_to_rgb['27408B'] = '39 64 139';
        $this->hex_to_rgb['0000FF'] = '0 0 255';
        $this->hex_to_rgb['0000EE'] = '0 0 238';
        $this->hex_to_rgb['0000CD'] = '0 0 205';
        $this->hex_to_rgb['00008B'] = '0 0 139';
        $this->hex_to_rgb['1E90FF'] = '30 144 255';
        $this->hex_to_rgb['1C86EE'] = '28 134 238';
        $this->hex_to_rgb['1874CD'] = '24 116 205';
        $this->hex_to_rgb['104E8B'] = '16 78 139';
        $this->hex_to_rgb['63B8FF'] = '99 184 255';
        $this->hex_to_rgb['5CACEE'] = '92 172 238';
        $this->hex_to_rgb['4F94CD'] = '79 148 205';
        $this->hex_to_rgb['36648B'] = '54 100 139';
        $this->hex_to_rgb['00BFFF'] = '0 191 255';
        $this->hex_to_rgb['00B2EE'] = '0 178 238';
        $this->hex_to_rgb['009ACD'] = '0 154 205';
        $this->hex_to_rgb['00688B'] = '0 104 139';
        $this->hex_to_rgb['87CEFF'] = '135 206 255';
        $this->hex_to_rgb['7EC0EE'] = '126 192 238';
        $this->hex_to_rgb['6CA6CD'] = '108 166 205';
        $this->hex_to_rgb['4A708B'] = '74 112 139';
        $this->hex_to_rgb['B0E2FF'] = '176 226 255';
        $this->hex_to_rgb['A4D3EE'] = '164 211 238';
        $this->hex_to_rgb['8DB6CD'] = '141 182 205';
        $this->hex_to_rgb['607B8B'] = '96 123 139';
        $this->hex_to_rgb['C6E2FF'] = '198 226 255';
        $this->hex_to_rgb['B9D3EE'] = '185 211 238';
        $this->hex_to_rgb['9FB6CD'] = '159 182 205';
        $this->hex_to_rgb['6C7B8B'] = '108 123 139';
        $this->hex_to_rgb['CAE1FF'] = '202 225 255';
        $this->hex_to_rgb['BCD2EE'] = '188 210 238';
        $this->hex_to_rgb['A2B5CD'] = '162 181 205';
        $this->hex_to_rgb['6E7B8B'] = '110 123 139';
        $this->hex_to_rgb['BFEFFF'] = '191 239 255';
        $this->hex_to_rgb['B2DFEE'] = '178 223 238';
        $this->hex_to_rgb['9AC0CD'] = '154 192 205';
        $this->hex_to_rgb['68838B'] = '104 131 139';
        $this->hex_to_rgb['E0FFFF'] = '224 255 255';
        $this->hex_to_rgb['D1EEEE'] = '209 238 238';
        $this->hex_to_rgb['B4CDCD'] = '180 205 205';
        $this->hex_to_rgb['7A8B8B'] = '122 139 139';
        $this->hex_to_rgb['BBFFFF'] = '187 255 255';
        $this->hex_to_rgb['AEEEEE'] = '174 238 238';
        $this->hex_to_rgb['96CDCD'] = '150 205 205';
        $this->hex_to_rgb['668B8B'] = '102 139 139';
        $this->hex_to_rgb['98F5FF'] = '152 245 255';
        $this->hex_to_rgb['8EE5EE'] = '142 229 238';
        $this->hex_to_rgb['7AC5CD'] = '122 197 205';
        $this->hex_to_rgb['53868B'] = '83 134 139';
        $this->hex_to_rgb['00F5FF'] = '0 245 255';
        $this->hex_to_rgb['00E5EE'] = '0 229 238';
        $this->hex_to_rgb['00C5CD'] = '0 197 205';
        $this->hex_to_rgb['00868B'] = '0 134 139';
        $this->hex_to_rgb['00FFFF'] = '0 255 255';
        $this->hex_to_rgb['00EEEE'] = '0 238 238';
        $this->hex_to_rgb['00CDCD'] = '0 205 205';
        $this->hex_to_rgb['008B8B'] = '0 139 139';
        $this->hex_to_rgb['97FFFF'] = '151 255 255';
        $this->hex_to_rgb['8DEEEE'] = '141 238 238';
        $this->hex_to_rgb['79CDCD'] = '121 205 205';
        $this->hex_to_rgb['528B8B'] = '82 139 139';
        $this->hex_to_rgb['7FFFD4'] = '127 255 212';
        $this->hex_to_rgb['76EEC6'] = '118 238 198';
        $this->hex_to_rgb['66CDAA'] = '102 205 170';
        $this->hex_to_rgb['458B74'] = '69 139 116';
        $this->hex_to_rgb['C1FFC1'] = '193 255 193';
        $this->hex_to_rgb['B4EEB4'] = '180 238 180';
        $this->hex_to_rgb['9BCD9B'] = '155 205 155';
        $this->hex_to_rgb['698B69'] = '105 139 105';
        $this->hex_to_rgb['54FF9F'] = '84 255 159';
        $this->hex_to_rgb['4EEE94'] = '78 238 148';
        $this->hex_to_rgb['43CD80'] = '67 205 128';
        $this->hex_to_rgb['2E8B57'] = '46 139 87';
        $this->hex_to_rgb['9AFF9A'] = '154 255 154';
        $this->hex_to_rgb['90EE90'] = '144 238 144';
        $this->hex_to_rgb['7CCD7C'] = '124 205 124';
        $this->hex_to_rgb['548B54'] = '84 139 84';
        $this->hex_to_rgb['00FF7F'] = '0 255 127';
        $this->hex_to_rgb['00EE76'] = '0 238 118';
        $this->hex_to_rgb['00CD66'] = '0 205 102';
        $this->hex_to_rgb['008B45'] = '0 139 69';
        $this->hex_to_rgb['00FF00'] = '0 255 0';
        $this->hex_to_rgb['00EE00'] = '0 238 0';
        $this->hex_to_rgb['00CD00'] = '0 205 0';
        $this->hex_to_rgb['008B00'] = '0 139 0';
        $this->hex_to_rgb['7FFF00'] = '127 255 0';
        $this->hex_to_rgb['76EE00'] = '118 238 0';
        $this->hex_to_rgb['66CD00'] = '102 205 0';
        $this->hex_to_rgb['458B00'] = '69 139 0';
        $this->hex_to_rgb['C0FF3E'] = '192 255 62';
        $this->hex_to_rgb['B3EE3A'] = '179 238 58';
        $this->hex_to_rgb['9ACD32'] = '154 205 50';
        $this->hex_to_rgb['698B22'] = '105 139 34';
        $this->hex_to_rgb['CAFF70'] = '202 255 112';
        $this->hex_to_rgb['BCEE68'] = '188 238 104';
        $this->hex_to_rgb['A2CD5A'] = '162 205 90';
        $this->hex_to_rgb['6E8B3D'] = '110 139 61';
        $this->hex_to_rgb['FFF68F'] = '255 246 143';
        $this->hex_to_rgb['EEE685'] = '238 230 133';
        $this->hex_to_rgb['CDC673'] = '205 198 115';
        $this->hex_to_rgb['8B864E'] = '139 134 78';
        $this->hex_to_rgb['FFEC8B'] = '255 236 139';
        $this->hex_to_rgb['EEDC82'] = '238 220 130';
        $this->hex_to_rgb['CDBE70'] = '205 190 112';
        $this->hex_to_rgb['8B814C'] = '139 129 76';
        $this->hex_to_rgb['FFFFE0'] = '255 255 224';
        $this->hex_to_rgb['EEEED1'] = '238 238 209';
        $this->hex_to_rgb['CDCDB4'] = '205 205 180';
        $this->hex_to_rgb['8B8B7A'] = '139 139 122';
        $this->hex_to_rgb['FFFF00'] = '255 255 0';
        $this->hex_to_rgb['EEEE00'] = '238 238 0';
        $this->hex_to_rgb['CDCD00'] = '205 205 0';
        $this->hex_to_rgb['8B8B00'] = '139 139 0';
        $this->hex_to_rgb['FFD700'] = '255 215 0';
        $this->hex_to_rgb['EEC900'] = '238 201 0';
        $this->hex_to_rgb['CDAD00'] = '205 173 0';
        $this->hex_to_rgb['8B7500'] = '139 117 0';
        $this->hex_to_rgb['FFC125'] = '255 193 37';
        $this->hex_to_rgb['EEB422'] = '238 180 34';
        $this->hex_to_rgb['CD9B1D'] = '205 155 29';
        $this->hex_to_rgb['8B6914'] = '139 105 20';
        $this->hex_to_rgb['FFB90F'] = '255 185 15';
        $this->hex_to_rgb['EEAD0E'] = '238 173 14';
        $this->hex_to_rgb['CD950C'] = '205 149 12';
        $this->hex_to_rgb['8B6508'] = '139 101 8';
        $this->hex_to_rgb['FFC1C1'] = '255 193 193';
        $this->hex_to_rgb['EEB4B4'] = '238 180 180';
        $this->hex_to_rgb['CD9B9B'] = '205 155 155';
        $this->hex_to_rgb['8B6969'] = '139 105 105';
        $this->hex_to_rgb['FF6A6A'] = '255 106 106';
        $this->hex_to_rgb['EE6363'] = '238 99 99';
        $this->hex_to_rgb['CD5555'] = '205 85 85';
        $this->hex_to_rgb['8B3A3A'] = '139 58 58';
        $this->hex_to_rgb['FF8247'] = '255 130 71';
        $this->hex_to_rgb['EE7942'] = '238 121 66';
        $this->hex_to_rgb['CD6839'] = '205 104 57';
        $this->hex_to_rgb['8B4726'] = '139 71 38';
        $this->hex_to_rgb['FFD39B'] = '255 211 155';
        $this->hex_to_rgb['EEC591'] = '238 197 145';
        $this->hex_to_rgb['CDAA7D'] = '205 170 125';
        $this->hex_to_rgb['8B7355'] = '139 115 85';
        $this->hex_to_rgb['FFE7BA'] = '255 231 186';
        $this->hex_to_rgb['EED8AE'] = '238 216 174';
        $this->hex_to_rgb['CDBA96'] = '205 186 150';
        $this->hex_to_rgb['8B7E66'] = '139 126 102';
        $this->hex_to_rgb['FFA54F'] = '255 165 79';
        $this->hex_to_rgb['EE9A49'] = '238 154 73';
        $this->hex_to_rgb['CD853F'] = '205 133 63';
        $this->hex_to_rgb['8B5A2B'] = '139 90 43';
        $this->hex_to_rgb['FF7F24'] = '255 127 36';
        $this->hex_to_rgb['EE7621'] = '238 118 33';
        $this->hex_to_rgb['CD661D'] = '205 102 29';
        $this->hex_to_rgb['8B4513'] = '139 69 19';
        $this->hex_to_rgb['FF3030'] = '255 48 48';
        $this->hex_to_rgb['EE2C2C'] = '238 44 44';
        $this->hex_to_rgb['CD2626'] = '205 38 38';
        $this->hex_to_rgb['8B1A1A'] = '139 26 26';
        $this->hex_to_rgb['FF4040'] = '255 64 64';
        $this->hex_to_rgb['EE3B3B'] = '238 59 59';
        $this->hex_to_rgb['CD3333'] = '205 51 51';
        $this->hex_to_rgb['8B2323'] = '139 35 35';
        $this->hex_to_rgb['FF8C69'] = '255 140 105';
        $this->hex_to_rgb['EE8262'] = '238 130 98';
        $this->hex_to_rgb['CD7054'] = '205 112 84';
        $this->hex_to_rgb['8B4C39'] = '139 76 57';
        $this->hex_to_rgb['FFA07A'] = '255 160 122';
        $this->hex_to_rgb['EE9572'] = '238 149 114';
        $this->hex_to_rgb['CD8162'] = '205 129 98';
        $this->hex_to_rgb['8B5742'] = '139 87 66';
        $this->hex_to_rgb['FFA500'] = '255 165 0';
        $this->hex_to_rgb['EE9A00'] = '238 154 0';
        $this->hex_to_rgb['CD8500'] = '205 133 0';
        $this->hex_to_rgb['8B5A00'] = '139 90 0';
        $this->hex_to_rgb['FF7F00'] = '255 127 0';
        $this->hex_to_rgb['EE7600'] = '238 118 0';
        $this->hex_to_rgb['CD6600'] = '205 102 0';
        $this->hex_to_rgb['8B4500'] = '139 69 0';
        $this->hex_to_rgb['FF7256'] = '255 114 86';
        $this->hex_to_rgb['EE6A50'] = '238 106 80';
        $this->hex_to_rgb['CD5B45'] = '205 91 69';
        $this->hex_to_rgb['8B3E2F'] = '139 62 47';
        $this->hex_to_rgb['FF6347'] = '255 99 71';
        $this->hex_to_rgb['EE5C42'] = '238 92 66';
        $this->hex_to_rgb['CD4F39'] = '205 79 57';
        $this->hex_to_rgb['8B3626'] = '139 54 38';
        $this->hex_to_rgb['FF4500'] = '255 69 0';
        $this->hex_to_rgb['EE4000'] = '238 64 0';
        $this->hex_to_rgb['CD3700'] = '205 55 0';
        $this->hex_to_rgb['8B2500'] = '139 37 0';
        $this->hex_to_rgb['FF0000'] = '255 0 0';
        $this->hex_to_rgb['EE0000'] = '238 0 0';
        $this->hex_to_rgb['CD0000'] = '205 0 0';
        $this->hex_to_rgb['8B0000'] = '139 0 0';
        $this->hex_to_rgb['FF1493'] = '255 20 147';
        $this->hex_to_rgb['EE1289'] = '238 18 137';
        $this->hex_to_rgb['CD1076'] = '205 16 118';
        $this->hex_to_rgb['8B0A50'] = '139 10 80';
        $this->hex_to_rgb['FF6EB4'] = '255 110 180';
        $this->hex_to_rgb['EE6AA7'] = '238 106 167';
        $this->hex_to_rgb['CD6090'] = '205 96 144';
        $this->hex_to_rgb['8B3A62'] = '139 58 98';
        $this->hex_to_rgb['FFB5C5'] = '255 181 197';
        $this->hex_to_rgb['EEA9B8'] = '238 169 184';
        $this->hex_to_rgb['CD919E'] = '205 145 158';
        $this->hex_to_rgb['8B636C'] = '139 99 108';
        $this->hex_to_rgb['FFAEB9'] = '255 174 185';
        $this->hex_to_rgb['EEA2AD'] = '238 162 173';
        $this->hex_to_rgb['CD8C95'] = '205 140 149';
        $this->hex_to_rgb['8B5F65'] = '139 95 101';
        $this->hex_to_rgb['FF82AB'] = '255 130 171';
        $this->hex_to_rgb['EE799F'] = '238 121 159';
        $this->hex_to_rgb['CD6889'] = '205 104 137';
        $this->hex_to_rgb['8B475D'] = '139 71 93';
        $this->hex_to_rgb['FF34B3'] = '255 52 179';
        $this->hex_to_rgb['EE30A7'] = '238 48 167';
        $this->hex_to_rgb['CD2990'] = '205 41 144';
        $this->hex_to_rgb['8B1C62'] = '139 28 98';
        $this->hex_to_rgb['FF3E96'] = '255 62 150';
        $this->hex_to_rgb['EE3A8C'] = '238 58 140';
        $this->hex_to_rgb['CD3278'] = '205 50 120';
        $this->hex_to_rgb['8B2252'] = '139 34 82';
        $this->hex_to_rgb['FF00FF'] = '255 0 255';
        $this->hex_to_rgb['EE00EE'] = '238 0 238';
        $this->hex_to_rgb['CD00CD'] = '205 0 205';
        $this->hex_to_rgb['8B008B'] = '139 0 139';
        $this->hex_to_rgb['FF83FA'] = '255 131 250';
        $this->hex_to_rgb['EE7AE9'] = '238 122 233';
        $this->hex_to_rgb['CD69C9'] = '205 105 201';
        $this->hex_to_rgb['8B4789'] = '139 71 137';
        $this->hex_to_rgb['FFBBFF'] = '255 187 255';
        $this->hex_to_rgb['EEAEEE'] = '238 174 238';
        $this->hex_to_rgb['CD96CD'] = '205 150 205';
        $this->hex_to_rgb['8B668B'] = '139 102 139';
        $this->hex_to_rgb['E066FF'] = '224 102 255';
        $this->hex_to_rgb['D15FEE'] = '209 95 238';
        $this->hex_to_rgb['B452CD'] = '180 82 205';
        $this->hex_to_rgb['7A378B'] = '122 55 139';
        $this->hex_to_rgb['BF3EFF'] = '191 62 255';
        $this->hex_to_rgb['B23AEE'] = '178 58 238';
        $this->hex_to_rgb['9A32CD'] = '154 50 205';
        $this->hex_to_rgb['68228B'] = '104 34 139';
        $this->hex_to_rgb['9B30FF'] = '155 48 255';
        $this->hex_to_rgb['912CEE'] = '145 44 238';
        $this->hex_to_rgb['7D26CD'] = '125 38 205';
        $this->hex_to_rgb['551A8B'] = '85 26 139';
        $this->hex_to_rgb['AB82FF'] = '171 130 255';
        $this->hex_to_rgb['9F79EE'] = '159 121 238';
        $this->hex_to_rgb['8968CD'] = '137 104 205';
        $this->hex_to_rgb['5D478B'] = '93 71 139';
        $this->hex_to_rgb['FFE1FF'] = '255 225 255';
        $this->hex_to_rgb['EED2EE'] = '238 210 238';
        $this->hex_to_rgb['CDB5CD'] = '205 181 205';
        $this->hex_to_rgb['8B7B8B'] = '139 123 139';
        $this->hex_to_rgb['000000'] = '0 0 0';
        $this->hex_to_rgb['000000'] = '0 0 0';
        $this->hex_to_rgb['030303'] = '3 3 3';
        $this->hex_to_rgb['030303'] = '3 3 3';
        $this->hex_to_rgb['050505'] = '5 5 5';
        $this->hex_to_rgb['050505'] = '5 5 5';
        $this->hex_to_rgb['080808'] = '8 8 8';
        $this->hex_to_rgb['080808'] = '8 8 8';
        $this->hex_to_rgb['0A0A0A'] = '10 10 10';
        $this->hex_to_rgb['0A0A0A'] = '10 10 10';
        $this->hex_to_rgb['0D0D0D'] = '13 13 13';
        $this->hex_to_rgb['0D0D0D'] = '13 13 13';
        $this->hex_to_rgb['0F0F0F'] = '15 15 15';
        $this->hex_to_rgb['0F0F0F'] = '15 15 15';
        $this->hex_to_rgb['121212'] = '18 18 18';
        $this->hex_to_rgb['121212'] = '18 18 18';
        $this->hex_to_rgb['141414'] = '20 20 20';
        $this->hex_to_rgb['141414'] = '20 20 20';
        $this->hex_to_rgb['171717'] = '23 23 23';
        $this->hex_to_rgb['171717'] = '23 23 23';
        $this->hex_to_rgb['1A1A1A'] = '26 26 26';
        $this->hex_to_rgb['1A1A1A'] = '26 26 26';
        $this->hex_to_rgb['1C1C1C'] = '28 28 28';
        $this->hex_to_rgb['1C1C1C'] = '28 28 28';
        $this->hex_to_rgb['1F1F1F'] = '31 31 31';
        $this->hex_to_rgb['1F1F1F'] = '31 31 31';
        $this->hex_to_rgb['212121'] = '33 33 33';
        $this->hex_to_rgb['212121'] = '33 33 33';
        $this->hex_to_rgb['242424'] = '36 36 36';
        $this->hex_to_rgb['242424'] = '36 36 36';
        $this->hex_to_rgb['262626'] = '38 38 38';
        $this->hex_to_rgb['262626'] = '38 38 38';
        $this->hex_to_rgb['292929'] = '41 41 41';
        $this->hex_to_rgb['292929'] = '41 41 41';
        $this->hex_to_rgb['2B2B2B'] = '43 43 43';
        $this->hex_to_rgb['2B2B2B'] = '43 43 43';
        $this->hex_to_rgb['2E2E2E'] = '46 46 46';
        $this->hex_to_rgb['2E2E2E'] = '46 46 46';
        $this->hex_to_rgb['303030'] = '48 48 48';
        $this->hex_to_rgb['303030'] = '48 48 48';
        $this->hex_to_rgb['333333'] = '51 51 51';
        $this->hex_to_rgb['333333'] = '51 51 51';
        $this->hex_to_rgb['363636'] = '54 54 54';
        $this->hex_to_rgb['363636'] = '54 54 54';
        $this->hex_to_rgb['383838'] = '56 56 56';
        $this->hex_to_rgb['383838'] = '56 56 56';
        $this->hex_to_rgb['3B3B3B'] = '59 59 59';
        $this->hex_to_rgb['3B3B3B'] = '59 59 59';
        $this->hex_to_rgb['3D3D3D'] = '61 61 61';
        $this->hex_to_rgb['3D3D3D'] = '61 61 61';
        $this->hex_to_rgb['404040'] = '64 64 64';
        $this->hex_to_rgb['404040'] = '64 64 64';
        $this->hex_to_rgb['424242'] = '66 66 66';
        $this->hex_to_rgb['424242'] = '66 66 66';
        $this->hex_to_rgb['454545'] = '69 69 69';
        $this->hex_to_rgb['454545'] = '69 69 69';
        $this->hex_to_rgb['474747'] = '71 71 71';
        $this->hex_to_rgb['474747'] = '71 71 71';
        $this->hex_to_rgb['4A4A4A'] = '74 74 74';
        $this->hex_to_rgb['4A4A4A'] = '74 74 74';
        $this->hex_to_rgb['4D4D4D'] = '77 77 77';
        $this->hex_to_rgb['4D4D4D'] = '77 77 77';
        $this->hex_to_rgb['4F4F4F'] = '79 79 79';
        $this->hex_to_rgb['4F4F4F'] = '79 79 79';
        $this->hex_to_rgb['525252'] = '82 82 82';
        $this->hex_to_rgb['525252'] = '82 82 82';
        $this->hex_to_rgb['545454'] = '84 84 84';
        $this->hex_to_rgb['545454'] = '84 84 84';
        $this->hex_to_rgb['575757'] = '87 87 87';
        $this->hex_to_rgb['575757'] = '87 87 87';
        $this->hex_to_rgb['595959'] = '89 89 89';
        $this->hex_to_rgb['595959'] = '89 89 89';
        $this->hex_to_rgb['5C5C5C'] = '92 92 92';
        $this->hex_to_rgb['5C5C5C'] = '92 92 92';
        $this->hex_to_rgb['5E5E5E'] = '94 94 94';
        $this->hex_to_rgb['5E5E5E'] = '94 94 94';
        $this->hex_to_rgb['616161'] = '97 97 97';
        $this->hex_to_rgb['616161'] = '97 97 97';
        $this->hex_to_rgb['636363'] = '99 99 99';
        $this->hex_to_rgb['636363'] = '99 99 99';
        $this->hex_to_rgb['666666'] = '102 102 102';
        $this->hex_to_rgb['666666'] = '102 102 102';
        $this->hex_to_rgb['696969'] = '105 105 105';
        $this->hex_to_rgb['696969'] = '105 105 105';
        $this->hex_to_rgb['6B6B6B'] = '107 107 107';
        $this->hex_to_rgb['6B6B6B'] = '107 107 107';
        $this->hex_to_rgb['6E6E6E'] = '110 110 110';
        $this->hex_to_rgb['6E6E6E'] = '110 110 110';
        $this->hex_to_rgb['707070'] = '112 112 112';
        $this->hex_to_rgb['707070'] = '112 112 112';
        $this->hex_to_rgb['737373'] = '115 115 115';
        $this->hex_to_rgb['737373'] = '115 115 115';
        $this->hex_to_rgb['757575'] = '117 117 117';
        $this->hex_to_rgb['757575'] = '117 117 117';
        $this->hex_to_rgb['787878'] = '120 120 120';
        $this->hex_to_rgb['787878'] = '120 120 120';
        $this->hex_to_rgb['7A7A7A'] = '122 122 122';
        $this->hex_to_rgb['7A7A7A'] = '122 122 122';
        $this->hex_to_rgb['7D7D7D'] = '125 125 125';
        $this->hex_to_rgb['7D7D7D'] = '125 125 125';
        $this->hex_to_rgb['7F7F7F'] = '127 127 127';
        $this->hex_to_rgb['7F7F7F'] = '127 127 127';
        $this->hex_to_rgb['828282'] = '130 130 130';
        $this->hex_to_rgb['828282'] = '130 130 130';
        $this->hex_to_rgb['858585'] = '133 133 133';
        $this->hex_to_rgb['858585'] = '133 133 133';
        $this->hex_to_rgb['878787'] = '135 135 135';
        $this->hex_to_rgb['878787'] = '135 135 135';
        $this->hex_to_rgb['8A8A8A'] = '138 138 138';
        $this->hex_to_rgb['8A8A8A'] = '138 138 138';
        $this->hex_to_rgb['8C8C8C'] = '140 140 140';
        $this->hex_to_rgb['8C8C8C'] = '140 140 140';
        $this->hex_to_rgb['8F8F8F'] = '143 143 143';
        $this->hex_to_rgb['8F8F8F'] = '143 143 143';
        $this->hex_to_rgb['919191'] = '145 145 145';
        $this->hex_to_rgb['919191'] = '145 145 145';
        $this->hex_to_rgb['949494'] = '148 148 148';
        $this->hex_to_rgb['949494'] = '148 148 148';
        $this->hex_to_rgb['969696'] = '150 150 150';
        $this->hex_to_rgb['969696'] = '150 150 150';
        $this->hex_to_rgb['999999'] = '153 153 153';
        $this->hex_to_rgb['999999'] = '153 153 153';
        $this->hex_to_rgb['9C9C9C'] = '156 156 156';
        $this->hex_to_rgb['9C9C9C'] = '156 156 156';
        $this->hex_to_rgb['9E9E9E'] = '158 158 158';
        $this->hex_to_rgb['9E9E9E'] = '158 158 158';
        $this->hex_to_rgb['A1A1A1'] = '161 161 161';
        $this->hex_to_rgb['A1A1A1'] = '161 161 161';
        $this->hex_to_rgb['A3A3A3'] = '163 163 163';
        $this->hex_to_rgb['A3A3A3'] = '163 163 163';
        $this->hex_to_rgb['A6A6A6'] = '166 166 166';
        $this->hex_to_rgb['A6A6A6'] = '166 166 166';
        $this->hex_to_rgb['A8A8A8'] = '168 168 168';
        $this->hex_to_rgb['A8A8A8'] = '168 168 168';
        $this->hex_to_rgb['ABABAB'] = '171 171 171';
        $this->hex_to_rgb['ABABAB'] = '171 171 171';
        $this->hex_to_rgb['ADADAD'] = '173 173 173';
        $this->hex_to_rgb['ADADAD'] = '173 173 173';
        $this->hex_to_rgb['B0B0B0'] = '176 176 176';
        $this->hex_to_rgb['B0B0B0'] = '176 176 176';
        $this->hex_to_rgb['B3B3B3'] = '179 179 179';
        $this->hex_to_rgb['B3B3B3'] = '179 179 179';
        $this->hex_to_rgb['B5B5B5'] = '181 181 181';
        $this->hex_to_rgb['B5B5B5'] = '181 181 181';
        $this->hex_to_rgb['B8B8B8'] = '184 184 184';
        $this->hex_to_rgb['B8B8B8'] = '184 184 184';
        $this->hex_to_rgb['BABABA'] = '186 186 186';
        $this->hex_to_rgb['BABABA'] = '186 186 186';
        $this->hex_to_rgb['BDBDBD'] = '189 189 189';
        $this->hex_to_rgb['BDBDBD'] = '189 189 189';
        $this->hex_to_rgb['BFBFBF'] = '191 191 191';
        $this->hex_to_rgb['BFBFBF'] = '191 191 191';
        $this->hex_to_rgb['C2C2C2'] = '194 194 194';
        $this->hex_to_rgb['C2C2C2'] = '194 194 194';
        $this->hex_to_rgb['C4C4C4'] = '196 196 196';
        $this->hex_to_rgb['C4C4C4'] = '196 196 196';
        $this->hex_to_rgb['C7C7C7'] = '199 199 199';
        $this->hex_to_rgb['C7C7C7'] = '199 199 199';
        $this->hex_to_rgb['C9C9C9'] = '201 201 201';
        $this->hex_to_rgb['C9C9C9'] = '201 201 201';
        $this->hex_to_rgb['CCCCCC'] = '204 204 204';
        $this->hex_to_rgb['CCCCCC'] = '204 204 204';
        $this->hex_to_rgb['CFCFCF'] = '207 207 207';
        $this->hex_to_rgb['CFCFCF'] = '207 207 207';
        $this->hex_to_rgb['D1D1D1'] = '209 209 209';
        $this->hex_to_rgb['D1D1D1'] = '209 209 209';
        $this->hex_to_rgb['D4D4D4'] = '212 212 212';
        $this->hex_to_rgb['D4D4D4'] = '212 212 212';
        $this->hex_to_rgb['D6D6D6'] = '214 214 214';
        $this->hex_to_rgb['D6D6D6'] = '214 214 214';
        $this->hex_to_rgb['D9D9D9'] = '217 217 217';
        $this->hex_to_rgb['D9D9D9'] = '217 217 217';
        $this->hex_to_rgb['DBDBDB'] = '219 219 219';
        $this->hex_to_rgb['DBDBDB'] = '219 219 219';
        $this->hex_to_rgb['DEDEDE'] = '222 222 222';
        $this->hex_to_rgb['DEDEDE'] = '222 222 222';
        $this->hex_to_rgb['E0E0E0'] = '224 224 224';
        $this->hex_to_rgb['E0E0E0'] = '224 224 224';
        $this->hex_to_rgb['E3E3E3'] = '227 227 227';
        $this->hex_to_rgb['E3E3E3'] = '227 227 227';
        $this->hex_to_rgb['E5E5E5'] = '229 229 229';
        $this->hex_to_rgb['E5E5E5'] = '229 229 229';
        $this->hex_to_rgb['E8E8E8'] = '232 232 232';
        $this->hex_to_rgb['E8E8E8'] = '232 232 232';
        $this->hex_to_rgb['EBEBEB'] = '235 235 235';
        $this->hex_to_rgb['EBEBEB'] = '235 235 235';
        $this->hex_to_rgb['EDEDED'] = '237 237 237';
        $this->hex_to_rgb['EDEDED'] = '237 237 237';
        $this->hex_to_rgb['F0F0F0'] = '240 240 240';
        $this->hex_to_rgb['F0F0F0'] = '240 240 240';
        $this->hex_to_rgb['F2F2F2'] = '242 242 242';
        $this->hex_to_rgb['F2F2F2'] = '242 242 242';
        $this->hex_to_rgb['F5F5F5'] = '245 245 245';
        $this->hex_to_rgb['F5F5F5'] = '245 245 245';
        $this->hex_to_rgb['F7F7F7'] = '247 247 247';
        $this->hex_to_rgb['F7F7F7'] = '247 247 247';
        $this->hex_to_rgb['FAFAFA'] = '250 250 250';
        $this->hex_to_rgb['FAFAFA'] = '250 250 250';
        $this->hex_to_rgb['FCFCFC'] = '252 252 252';
        $this->hex_to_rgb['FCFCFC'] = '252 252 252';
        $this->hex_to_rgb['FFFFFF'] = '255 255 255';
        $this->hex_to_rgb['FFFFFF'] = '255 255 255';
        // ----------------------$this->rgb_to_hex['255 250 250']='FFFAFA';
        $this->rgb_to_hex['248 248 255'] = 'F8F8FF';
        $this->rgb_to_hex['248 248 255'] = 'F8F8FF';
        $this->rgb_to_hex['245 245 245'] = 'F5F5F5';
        $this->rgb_to_hex['245 245 245'] = 'F5F5F5';
        $this->rgb_to_hex['220 220 220'] = 'DCDCDC';
        $this->rgb_to_hex['255 250 240'] = 'FFFAF0';
        $this->rgb_to_hex['255 250 240'] = 'FFFAF0';
        $this->rgb_to_hex['253 245 230'] = 'FDF5E6';
        $this->rgb_to_hex['253 245 230'] = 'FDF5E6';
        $this->rgb_to_hex['250 240 230'] = 'FAF0E6';
        $this->rgb_to_hex['250 235 215'] = 'FAEBD7';
        $this->rgb_to_hex['250 235 215'] = 'FAEBD7';
        $this->rgb_to_hex['255 239 213'] = 'FFEFD5';
        $this->rgb_to_hex['255 239 213'] = 'FFEFD5';
        $this->rgb_to_hex['255 235 205'] = 'FFEBCD';
        $this->rgb_to_hex['255 235 205'] = 'FFEBCD';
        $this->rgb_to_hex['255 228 196'] = 'FFE4C4';
        $this->rgb_to_hex['255 218 185'] = 'FFDAB9';
        $this->rgb_to_hex['255 218 185'] = 'FFDAB9';
        $this->rgb_to_hex['255 222 173'] = 'FFDEAD';
        $this->rgb_to_hex['255 222 173'] = 'FFDEAD';
        $this->rgb_to_hex['255 228 181'] = 'FFE4B5';
        $this->rgb_to_hex['255 248 220'] = 'FFF8DC';
        $this->rgb_to_hex['255 255 240'] = 'FFFFF0';
        $this->rgb_to_hex['255 250 205'] = 'FFFACD';
        $this->rgb_to_hex['255 250 205'] = 'FFFACD';
        $this->rgb_to_hex['255 245 238'] = 'FFF5EE';
        $this->rgb_to_hex['240 255 240'] = 'F0FFF0';
        $this->rgb_to_hex['245 255 250'] = 'F5FFFA';
        $this->rgb_to_hex['245 255 250'] = 'F5FFFA';
        $this->rgb_to_hex['240 255 255'] = 'F0FFFF';
        $this->rgb_to_hex['240 248 255'] = 'F0F8FF';
        $this->rgb_to_hex['240 248 255'] = 'F0F8FF';
        $this->rgb_to_hex['230 230 250'] = 'E6E6FA';
        $this->rgb_to_hex['255 240 245'] = 'FFF0F5';
        $this->rgb_to_hex['255 240 245'] = 'FFF0F5';
        $this->rgb_to_hex['255 228 225'] = 'FFE4E1';
        $this->rgb_to_hex['255 228 225'] = 'FFE4E1';
        $this->rgb_to_hex['255 255 255'] = 'FFFFFF';
        $this->rgb_to_hex['0 0 0'] = '000000';
        $this->rgb_to_hex['47 79 79'] = '2F4F4F';
        $this->rgb_to_hex['47 79 79'] = '2F4F4F';
        $this->rgb_to_hex['47 79 79'] = '2F4F4F';
        $this->rgb_to_hex['47 79 79'] = '2F4F4F';
        $this->rgb_to_hex['105 105 105'] = '696969';
        $this->rgb_to_hex['105 105 105'] = '696969';
        $this->rgb_to_hex['105 105 105'] = '696969';
        $this->rgb_to_hex['105 105 105'] = '696969';
        $this->rgb_to_hex['112 128 144'] = '708090';
        $this->rgb_to_hex['112 128 144'] = '708090';
        $this->rgb_to_hex['112 128 144'] = '708090';
        $this->rgb_to_hex['112 128 144'] = '708090';
        $this->rgb_to_hex['119 136 153'] = '778899';
        $this->rgb_to_hex['119 136 153'] = '778899';
        $this->rgb_to_hex['119 136 153'] = '778899';
        $this->rgb_to_hex['119 136 153'] = '778899';
        $this->rgb_to_hex['190 190 190'] = 'BEBEBE';
        $this->rgb_to_hex['190 190 190'] = 'BEBEBE';
        $this->rgb_to_hex['211 211 211'] = 'D3D3D3';
        $this->rgb_to_hex['211 211 211'] = 'D3D3D3';
        $this->rgb_to_hex['211 211 211'] = 'D3D3D3';
        $this->rgb_to_hex['211 211 211'] = 'D3D3D3';
        $this->rgb_to_hex['25 25 112'] = '191970';
        $this->rgb_to_hex['25 25 112'] = '191970';
        $this->rgb_to_hex['0 0 128'] = '000080';
        $this->rgb_to_hex['0 0 128'] = '000080';
        $this->rgb_to_hex['0 0 128'] = '000080';
        $this->rgb_to_hex['100 149 237'] = '6495ED';
        $this->rgb_to_hex['100 149 237'] = '6495ED';
        $this->rgb_to_hex['72 61 139'] = '483D8B';
        $this->rgb_to_hex['72 61 139'] = '483D8B';
        $this->rgb_to_hex['106 90 205'] = '6A5ACD';
        $this->rgb_to_hex['106 90 205'] = '6A5ACD';
        $this->rgb_to_hex['123 104 238'] = '7B68EE';
        $this->rgb_to_hex['123 104 238'] = '7B68EE';
        $this->rgb_to_hex['132 112 255'] = '8470FF';
        $this->rgb_to_hex['132 112 255'] = '8470FF';
        $this->rgb_to_hex['0 0 205'] = '0000CD';
        $this->rgb_to_hex['0 0 205'] = '0000CD';
        $this->rgb_to_hex['65 105 225'] = '4169E1';
        $this->rgb_to_hex['65 105 225'] = '4169E1';
        $this->rgb_to_hex['0 0 255'] = '0000FF';
        $this->rgb_to_hex['30 144 255'] = '1E90FF';
        $this->rgb_to_hex['30 144 255'] = '1E90FF';
        $this->rgb_to_hex['0 191 255'] = '00BFFF';
        $this->rgb_to_hex['0 191 255'] = '00BFFF';
        $this->rgb_to_hex['135 206 235'] = '87CEEB';
        $this->rgb_to_hex['135 206 235'] = '87CEEB';
        $this->rgb_to_hex['135 206 250'] = '87CEFA';
        $this->rgb_to_hex['135 206 250'] = '87CEFA';
        $this->rgb_to_hex['70 130 180'] = '4682B4';
        $this->rgb_to_hex['70 130 180'] = '4682B4';
        $this->rgb_to_hex['176 196 222'] = 'B0C4DE';
        $this->rgb_to_hex['176 196 222'] = 'B0C4DE';
        $this->rgb_to_hex['173 216 230'] = 'ADD8E6';
        $this->rgb_to_hex['173 216 230'] = 'ADD8E6';
        $this->rgb_to_hex['176 224 230'] = 'B0E0E6';
        $this->rgb_to_hex['176 224 230'] = 'B0E0E6';
        $this->rgb_to_hex['175 238 238'] = 'AFEEEE';
        $this->rgb_to_hex['175 238 238'] = 'AFEEEE';
        $this->rgb_to_hex['0 206 209'] = '00CED1';
        $this->rgb_to_hex['0 206 209'] = '00CED1';
        $this->rgb_to_hex['72 209 204'] = '48D1CC';
        $this->rgb_to_hex['72 209 204'] = '48D1CC';
        $this->rgb_to_hex['64 224 208'] = '40E0D0';
        $this->rgb_to_hex['0 255 255'] = '00FFFF';
        $this->rgb_to_hex['224 255 255'] = 'E0FFFF';
        $this->rgb_to_hex['224 255 255'] = 'E0FFFF';
        $this->rgb_to_hex['95 158 160'] = '5F9EA0';
        $this->rgb_to_hex['95 158 160'] = '5F9EA0';
        $this->rgb_to_hex['102 205 170'] = '66CDAA';
        $this->rgb_to_hex['102 205 170'] = '66CDAA';
        $this->rgb_to_hex['127 255 212'] = '7FFFD4';
        $this->rgb_to_hex['0 100 0'] = '006400';
        $this->rgb_to_hex['0 100 0'] = '006400';
        $this->rgb_to_hex['85 107 47'] = '556B2F';
        $this->rgb_to_hex['85 107 47'] = '556B2F';
        $this->rgb_to_hex['143 188 143'] = '8FBC8F';
        $this->rgb_to_hex['143 188 143'] = '8FBC8F';
        $this->rgb_to_hex['46 139 87'] = '2E8B57';
        $this->rgb_to_hex['46 139 87'] = '2E8B57';
        $this->rgb_to_hex['60 179 113'] = '3CB371';
        $this->rgb_to_hex['60 179 113'] = '3CB371';
        $this->rgb_to_hex['32 178 170'] = '20B2AA';
        $this->rgb_to_hex['32 178 170'] = '20B2AA';
        $this->rgb_to_hex['152 251 152'] = '98FB98';
        $this->rgb_to_hex['152 251 152'] = '98FB98';
        $this->rgb_to_hex['0 255 127'] = '00FF7F';
        $this->rgb_to_hex['0 255 127'] = '00FF7F';
        $this->rgb_to_hex['124 252 0'] = '7CFC00';
        $this->rgb_to_hex['124 252 0'] = '7CFC00';
        $this->rgb_to_hex['0 255 0'] = '00FF00';
        $this->rgb_to_hex['127 255 0'] = '7FFF00';
        $this->rgb_to_hex['0 250 154'] = '00FA9A';
        $this->rgb_to_hex['0 250 154'] = '00FA9A';
        $this->rgb_to_hex['173 255 47'] = 'ADFF2F';
        $this->rgb_to_hex['173 255 47'] = 'ADFF2F';
        $this->rgb_to_hex['50 205 50'] = '32CD32';
        $this->rgb_to_hex['50 205 50'] = '32CD32';
        $this->rgb_to_hex['154 205 50'] = '9ACD32';
        $this->rgb_to_hex['154 205 50'] = '9ACD32';
        $this->rgb_to_hex['34 139 34'] = '228B22';
        $this->rgb_to_hex['34 139 34'] = '228B22';
        $this->rgb_to_hex['107 142 35'] = '6B8E23';
        $this->rgb_to_hex['107 142 35'] = '6B8E23';
        $this->rgb_to_hex['189 183 107'] = 'BDB76B';
        $this->rgb_to_hex['189 183 107'] = 'BDB76B';
        $this->rgb_to_hex['240 230 140'] = 'F0E68C';
        $this->rgb_to_hex['238 232 170'] = 'EEE8AA';
        $this->rgb_to_hex['238 232 170'] = 'EEE8AA';
        $this->rgb_to_hex['250 250 210'] = 'FAFAD2';
        $this->rgb_to_hex['250 250 210'] = 'FAFAD2';
        $this->rgb_to_hex['255 255 224'] = 'FFFFE0';
        $this->rgb_to_hex['255 255 224'] = 'FFFFE0';
        $this->rgb_to_hex['255 255 0'] = 'FFFF00';
        $this->rgb_to_hex['255 215 0'] = 'FFD700';
        $this->rgb_to_hex['238 221 130'] = 'EEDD82';
        $this->rgb_to_hex['238 221 130'] = 'EEDD82';
        $this->rgb_to_hex['218 165 32'] = 'DAA520';
        $this->rgb_to_hex['184 134 11'] = 'B8860B';
        $this->rgb_to_hex['184 134 11'] = 'B8860B';
        $this->rgb_to_hex['188 143 143'] = 'BC8F8F';
        $this->rgb_to_hex['188 143 143'] = 'BC8F8F';
        $this->rgb_to_hex['205 92 92'] = 'CD5C5C';
        $this->rgb_to_hex['205 92 92'] = 'CD5C5C';
        $this->rgb_to_hex['139 69 19'] = '8B4513';
        $this->rgb_to_hex['139 69 19'] = '8B4513';
        $this->rgb_to_hex['160 82 45'] = 'A0522D';
        $this->rgb_to_hex['205 133 63'] = 'CD853F';
        $this->rgb_to_hex['222 184 135'] = 'DEB887';
        $this->rgb_to_hex['245 245 220'] = 'F5F5DC';
        $this->rgb_to_hex['245 222 179'] = 'F5DEB3';
        $this->rgb_to_hex['244 164 96'] = 'F4A460';
        $this->rgb_to_hex['244 164 96'] = 'F4A460';
        $this->rgb_to_hex['210 180 140'] = 'D2B48C';
        $this->rgb_to_hex['210 105 30'] = 'D2691E';
        $this->rgb_to_hex['178 34 34'] = 'B22222';
        $this->rgb_to_hex['165 42 42'] = 'A52A2A';
        $this->rgb_to_hex['233 150 122'] = 'E9967A';
        $this->rgb_to_hex['233 150 122'] = 'E9967A';
        $this->rgb_to_hex['250 128 114'] = 'FA8072';
        $this->rgb_to_hex['255 160 122'] = 'FFA07A';
        $this->rgb_to_hex['255 160 122'] = 'FFA07A';
        $this->rgb_to_hex['255 165 0'] = 'FFA500';
        $this->rgb_to_hex['255 140 0'] = 'FF8C00';
        $this->rgb_to_hex['255 140 0'] = 'FF8C00';
        $this->rgb_to_hex['255 127 80'] = 'FF7F50';
        $this->rgb_to_hex['240 128 128'] = 'F08080';
        $this->rgb_to_hex['240 128 128'] = 'F08080';
        $this->rgb_to_hex['255 99 71'] = 'FF6347';
        $this->rgb_to_hex['255 69 0'] = 'FF4500';
        $this->rgb_to_hex['255 69 0'] = 'FF4500';
        $this->rgb_to_hex['255 0 0'] = 'FF0000';
        $this->rgb_to_hex['255 105 180'] = 'FF69B4';
        $this->rgb_to_hex['255 105 180'] = 'FF69B4';
        $this->rgb_to_hex['255 20 147'] = 'FF1493';
        $this->rgb_to_hex['255 20 147'] = 'FF1493';
        $this->rgb_to_hex['255 192 203'] = 'FFC0CB';
        $this->rgb_to_hex['255 182 193'] = 'FFB6C1';
        $this->rgb_to_hex['255 182 193'] = 'FFB6C1';
        $this->rgb_to_hex['219 112 147'] = 'DB7093';
        $this->rgb_to_hex['219 112 147'] = 'DB7093';
        $this->rgb_to_hex['176 48 96'] = 'B03060';
        $this->rgb_to_hex['199 21 133'] = 'C71585';
        $this->rgb_to_hex['199 21 133'] = 'C71585';
        $this->rgb_to_hex['208 32 144'] = 'D02090';
        $this->rgb_to_hex['208 32 144'] = 'D02090';
        $this->rgb_to_hex['255 0 255'] = 'FF00FF';
        $this->rgb_to_hex['238 130 238'] = 'EE82EE';
        $this->rgb_to_hex['221 160 221'] = 'DDA0DD';
        $this->rgb_to_hex['218 112 214'] = 'DA70D6';
        $this->rgb_to_hex['186 85 211'] = 'BA55D3';
        $this->rgb_to_hex['186 85 211'] = 'BA55D3';
        $this->rgb_to_hex['153 50 204'] = '9932CC';
        $this->rgb_to_hex['153 50 204'] = '9932CC';
        $this->rgb_to_hex['148 0 211'] = '9400D3';
        $this->rgb_to_hex['148 0 211'] = '9400D3';
        $this->rgb_to_hex['138 43 226'] = '8A2BE2';
        $this->rgb_to_hex['138 43 226'] = '8A2BE2';
        $this->rgb_to_hex['160 32 240'] = 'A020F0';
        $this->rgb_to_hex['147 112 219'] = '9370DB';
        $this->rgb_to_hex['147 112 219'] = '9370DB';
        $this->rgb_to_hex['216 191 216'] = 'D8BFD8';
        $this->rgb_to_hex['255 250 250'] = 'FFFAFA';
        $this->rgb_to_hex['238 233 233'] = 'EEE9E9';
        $this->rgb_to_hex['205 201 201'] = 'CDC9C9';
        $this->rgb_to_hex['139 137 137'] = '8B8989';
        $this->rgb_to_hex['255 245 238'] = 'FFF5EE';
        $this->rgb_to_hex['238 229 222'] = 'EEE5DE';
        $this->rgb_to_hex['205 197 191'] = 'CDC5BF';
        $this->rgb_to_hex['139 134 130'] = '8B8682';
        $this->rgb_to_hex['255 239 219'] = 'FFEFDB';
        $this->rgb_to_hex['238 223 204'] = 'EEDFCC';
        $this->rgb_to_hex['205 192 176'] = 'CDC0B0';
        $this->rgb_to_hex['139 131 120'] = '8B8378';
        $this->rgb_to_hex['255 228 196'] = 'FFE4C4';
        $this->rgb_to_hex['238 213 183'] = 'EED5B7';
        $this->rgb_to_hex['205 183 158'] = 'CDB79E';
        $this->rgb_to_hex['139 125 107'] = '8B7D6B';
        $this->rgb_to_hex['255 218 185'] = 'FFDAB9';
        $this->rgb_to_hex['238 203 173'] = 'EECBAD';
        $this->rgb_to_hex['205 175 149'] = 'CDAF95';
        $this->rgb_to_hex['139 119 101'] = '8B7765';
        $this->rgb_to_hex['255 222 173'] = 'FFDEAD';
        $this->rgb_to_hex['238 207 161'] = 'EECFA1';
        $this->rgb_to_hex['205 179 139'] = 'CDB38B';
        $this->rgb_to_hex['139 121 94'] = '8B795E';
        $this->rgb_to_hex['255 250 205'] = 'FFFACD';
        $this->rgb_to_hex['238 233 191'] = 'EEE9BF';
        $this->rgb_to_hex['205 201 165'] = 'CDC9A5';
        $this->rgb_to_hex['139 137 112'] = '8B8970';
        $this->rgb_to_hex['255 248 220'] = 'FFF8DC';
        $this->rgb_to_hex['238 232 205'] = 'EEE8CD';
        $this->rgb_to_hex['205 200 177'] = 'CDC8B1';
        $this->rgb_to_hex['139 136 120'] = '8B8878';
        $this->rgb_to_hex['255 255 240'] = 'FFFFF0';
        $this->rgb_to_hex['238 238 224'] = 'EEEEE0';
        $this->rgb_to_hex['205 205 193'] = 'CDCDC1';
        $this->rgb_to_hex['139 139 131'] = '8B8B83';
        $this->rgb_to_hex['240 255 240'] = 'F0FFF0';
        $this->rgb_to_hex['224 238 224'] = 'E0EEE0';
        $this->rgb_to_hex['193 205 193'] = 'C1CDC1';
        $this->rgb_to_hex['131 139 131'] = '838B83';
        $this->rgb_to_hex['255 240 245'] = 'FFF0F5';
        $this->rgb_to_hex['238 224 229'] = 'EEE0E5';
        $this->rgb_to_hex['205 193 197'] = 'CDC1C5';
        $this->rgb_to_hex['139 131 134'] = '8B8386';
        $this->rgb_to_hex['255 228 225'] = 'FFE4E1';
        $this->rgb_to_hex['238 213 210'] = 'EED5D2';
        $this->rgb_to_hex['205 183 181'] = 'CDB7B5';
        $this->rgb_to_hex['139 125 123'] = '8B7D7B';
        $this->rgb_to_hex['240 255 255'] = 'F0FFFF';
        $this->rgb_to_hex['224 238 238'] = 'E0EEEE';
        $this->rgb_to_hex['193 205 205'] = 'C1CDCD';
        $this->rgb_to_hex['131 139 139'] = '838B8B';
        $this->rgb_to_hex['131 111 255'] = '836FFF';
        $this->rgb_to_hex['122 103 238'] = '7A67EE';
        $this->rgb_to_hex['105 89 205'] = '6959CD';
        $this->rgb_to_hex['71 60 139'] = '473C8B';
        $this->rgb_to_hex['72 118 255'] = '4876FF';
        $this->rgb_to_hex['67 110 238'] = '436EEE';
        $this->rgb_to_hex['58 95 205'] = '3A5FCD';
        $this->rgb_to_hex['39 64 139'] = '27408B';
        $this->rgb_to_hex['0 0 255'] = '0000FF';
        $this->rgb_to_hex['0 0 238'] = '0000EE';
        $this->rgb_to_hex['0 0 205'] = '0000CD';
        $this->rgb_to_hex['0 0 139'] = '00008B';
        $this->rgb_to_hex['30 144 255'] = '1E90FF';
        $this->rgb_to_hex['28 134 238'] = '1C86EE';
        $this->rgb_to_hex['24 116 205'] = '1874CD';
        $this->rgb_to_hex['16 78 139'] = '104E8B';
        $this->rgb_to_hex['99 184 255'] = '63B8FF';
        $this->rgb_to_hex['92 172 238'] = '5CACEE';
        $this->rgb_to_hex['79 148 205'] = '4F94CD';
        $this->rgb_to_hex['54 100 139'] = '36648B';
        $this->rgb_to_hex['0 191 255'] = '00BFFF';
        $this->rgb_to_hex['0 178 238'] = '00B2EE';
        $this->rgb_to_hex['0 154 205'] = '009ACD';
        $this->rgb_to_hex['0 104 139'] = '00688B';
        $this->rgb_to_hex['135 206 255'] = '87CEFF';
        $this->rgb_to_hex['126 192 238'] = '7EC0EE';
        $this->rgb_to_hex['108 166 205'] = '6CA6CD';
        $this->rgb_to_hex['74 112 139'] = '4A708B';
        $this->rgb_to_hex['176 226 255'] = 'B0E2FF';
        $this->rgb_to_hex['164 211 238'] = 'A4D3EE';
        $this->rgb_to_hex['141 182 205'] = '8DB6CD';
        $this->rgb_to_hex['96 123 139'] = '607B8B';
        $this->rgb_to_hex['198 226 255'] = 'C6E2FF';
        $this->rgb_to_hex['185 211 238'] = 'B9D3EE';
        $this->rgb_to_hex['159 182 205'] = '9FB6CD';
        $this->rgb_to_hex['108 123 139'] = '6C7B8B';
        $this->rgb_to_hex['202 225 255'] = 'CAE1FF';
        $this->rgb_to_hex['188 210 238'] = 'BCD2EE';
        $this->rgb_to_hex['162 181 205'] = 'A2B5CD';
        $this->rgb_to_hex['110 123 139'] = '6E7B8B';
        $this->rgb_to_hex['191 239 255'] = 'BFEFFF';
        $this->rgb_to_hex['178 223 238'] = 'B2DFEE';
        $this->rgb_to_hex['154 192 205'] = '9AC0CD';
        $this->rgb_to_hex['104 131 139'] = '68838B';
        $this->rgb_to_hex['224 255 255'] = 'E0FFFF';
        $this->rgb_to_hex['209 238 238'] = 'D1EEEE';
        $this->rgb_to_hex['180 205 205'] = 'B4CDCD';
        $this->rgb_to_hex['122 139 139'] = '7A8B8B';
        $this->rgb_to_hex['187 255 255'] = 'BBFFFF';
        $this->rgb_to_hex['174 238 238'] = 'AEEEEE';
        $this->rgb_to_hex['150 205 205'] = '96CDCD';
        $this->rgb_to_hex['102 139 139'] = '668B8B';
        $this->rgb_to_hex['152 245 255'] = '98F5FF';
        $this->rgb_to_hex['142 229 238'] = '8EE5EE';
        $this->rgb_to_hex['122 197 205'] = '7AC5CD';
        $this->rgb_to_hex['83 134 139'] = '53868B';
        $this->rgb_to_hex['0 245 255'] = '00F5FF';
        $this->rgb_to_hex['0 229 238'] = '00E5EE';
        $this->rgb_to_hex['0 197 205'] = '00C5CD';
        $this->rgb_to_hex['0 134 139'] = '00868B';
        $this->rgb_to_hex['0 255 255'] = '00FFFF';
        $this->rgb_to_hex['0 238 238'] = '00EEEE';
        $this->rgb_to_hex['0 205 205'] = '00CDCD';
        $this->rgb_to_hex['0 139 139'] = '008B8B';
        $this->rgb_to_hex['151 255 255'] = '97FFFF';
        $this->rgb_to_hex['141 238 238'] = '8DEEEE';
        $this->rgb_to_hex['121 205 205'] = '79CDCD';
        $this->rgb_to_hex['82 139 139'] = '528B8B';
        $this->rgb_to_hex['127 255 212'] = '7FFFD4';
        $this->rgb_to_hex['118 238 198'] = '76EEC6';
        $this->rgb_to_hex['102 205 170'] = '66CDAA';
        $this->rgb_to_hex['69 139 116'] = '458B74';
        $this->rgb_to_hex['193 255 193'] = 'C1FFC1';
        $this->rgb_to_hex['180 238 180'] = 'B4EEB4';
        $this->rgb_to_hex['155 205 155'] = '9BCD9B';
        $this->rgb_to_hex['105 139 105'] = '698B69';
        $this->rgb_to_hex['84 255 159'] = '54FF9F';
        $this->rgb_to_hex['78 238 148'] = '4EEE94';
        $this->rgb_to_hex['67 205 128'] = '43CD80';
        $this->rgb_to_hex['46 139 87'] = '2E8B57';
        $this->rgb_to_hex['154 255 154'] = '9AFF9A';
        $this->rgb_to_hex['144 238 144'] = '90EE90';
        $this->rgb_to_hex['124 205 124'] = '7CCD7C';
        $this->rgb_to_hex['84 139 84'] = '548B54';
        $this->rgb_to_hex['0 255 127'] = '00FF7F';
        $this->rgb_to_hex['0 238 118'] = '00EE76';
        $this->rgb_to_hex['0 205 102'] = '00CD66';
        $this->rgb_to_hex['0 139 69'] = '008B45';
        $this->rgb_to_hex['0 255 0'] = '00FF00';
        $this->rgb_to_hex['0 238 0'] = '00EE00';
        $this->rgb_to_hex['0 205 0'] = '00CD00';
        $this->rgb_to_hex['0 139 0'] = '008B00';
        $this->rgb_to_hex['127 255 0'] = '7FFF00';
        $this->rgb_to_hex['118 238 0'] = '76EE00';
        $this->rgb_to_hex['102 205 0'] = '66CD00';
        $this->rgb_to_hex['69 139 0'] = '458B00';
        $this->rgb_to_hex['192 255 62'] = 'C0FF3E';
        $this->rgb_to_hex['179 238 58'] = 'B3EE3A';
        $this->rgb_to_hex['154 205 50'] = '9ACD32';
        $this->rgb_to_hex['105 139 34'] = '698B22';
        $this->rgb_to_hex['202 255 112'] = 'CAFF70';
        $this->rgb_to_hex['188 238 104'] = 'BCEE68';
        $this->rgb_to_hex['162 205 90'] = 'A2CD5A';
        $this->rgb_to_hex['110 139 61'] = '6E8B3D';
        $this->rgb_to_hex['255 246 143'] = 'FFF68F';
        $this->rgb_to_hex['238 230 133'] = 'EEE685';
        $this->rgb_to_hex['205 198 115'] = 'CDC673';
        $this->rgb_to_hex['139 134 78'] = '8B864E';
        $this->rgb_to_hex['255 236 139'] = 'FFEC8B';
        $this->rgb_to_hex['238 220 130'] = 'EEDC82';
        $this->rgb_to_hex['205 190 112'] = 'CDBE70';
        $this->rgb_to_hex['139 129 76'] = '8B814C';
        $this->rgb_to_hex['255 255 224'] = 'FFFFE0';
        $this->rgb_to_hex['238 238 209'] = 'EEEED1';
        $this->rgb_to_hex['205 205 180'] = 'CDCDB4';
        $this->rgb_to_hex['139 139 122'] = '8B8B7A';
        $this->rgb_to_hex['255 255 0'] = 'FFFF00';
        $this->rgb_to_hex['238 238 0'] = 'EEEE00';
        $this->rgb_to_hex['205 205 0'] = 'CDCD00';
        $this->rgb_to_hex['139 139 0'] = '8B8B00';
        $this->rgb_to_hex['255 215 0'] = 'FFD700';
        $this->rgb_to_hex['238 201 0'] = 'EEC900';
        $this->rgb_to_hex['205 173 0'] = 'CDAD00';
        $this->rgb_to_hex['139 117 0'] = '8B7500';
        $this->rgb_to_hex['255 193 37'] = 'FFC125';
        $this->rgb_to_hex['238 180 34'] = 'EEB422';
        $this->rgb_to_hex['205 155 29'] = 'CD9B1D';
        $this->rgb_to_hex['139 105 20'] = '8B6914';
        $this->rgb_to_hex['255 185 15'] = 'FFB90F';
        $this->rgb_to_hex['238 173 14'] = 'EEAD0E';
        $this->rgb_to_hex['205 149 12'] = 'CD950C';
        $this->rgb_to_hex['139 101 8'] = '8B6508';
        $this->rgb_to_hex['255 193 193'] = 'FFC1C1';
        $this->rgb_to_hex['238 180 180'] = 'EEB4B4';
        $this->rgb_to_hex['205 155 155'] = 'CD9B9B';
        $this->rgb_to_hex['139 105 105'] = '8B6969';
        $this->rgb_to_hex['255 106 106'] = 'FF6A6A';
        $this->rgb_to_hex['238 99 99'] = 'EE6363';
        $this->rgb_to_hex['205 85 85'] = 'CD5555';
        $this->rgb_to_hex['139 58 58'] = '8B3A3A';
        $this->rgb_to_hex['255 130 71'] = 'FF8247';
        $this->rgb_to_hex['238 121 66'] = 'EE7942';
        $this->rgb_to_hex['205 104 57'] = 'CD6839';
        $this->rgb_to_hex['139 71 38'] = '8B4726';
        $this->rgb_to_hex['255 211 155'] = 'FFD39B';
        $this->rgb_to_hex['238 197 145'] = 'EEC591';
        $this->rgb_to_hex['205 170 125'] = 'CDAA7D';
        $this->rgb_to_hex['139 115 85'] = '8B7355';
        $this->rgb_to_hex['255 231 186'] = 'FFE7BA';
        $this->rgb_to_hex['238 216 174'] = 'EED8AE';
        $this->rgb_to_hex['205 186 150'] = 'CDBA96';
        $this->rgb_to_hex['139 126 102'] = '8B7E66';
        $this->rgb_to_hex['255 165 79'] = 'FFA54F';
        $this->rgb_to_hex['238 154 73'] = 'EE9A49';
        $this->rgb_to_hex['205 133 63'] = 'CD853F';
        $this->rgb_to_hex['139 90 43'] = '8B5A2B';
        $this->rgb_to_hex['255 127 36'] = 'FF7F24';
        $this->rgb_to_hex['238 118 33'] = 'EE7621';
        $this->rgb_to_hex['205 102 29'] = 'CD661D';
        $this->rgb_to_hex['139 69 19'] = '8B4513';
        $this->rgb_to_hex['255 48 48'] = 'FF3030';
        $this->rgb_to_hex['238 44 44'] = 'EE2C2C';
        $this->rgb_to_hex['205 38 38'] = 'CD2626';
        $this->rgb_to_hex['139 26 26'] = '8B1A1A';
        $this->rgb_to_hex['255 64 64'] = 'FF4040';
        $this->rgb_to_hex['238 59 59'] = 'EE3B3B';
        $this->rgb_to_hex['205 51 51'] = 'CD3333';
        $this->rgb_to_hex['139 35 35'] = '8B2323';
        $this->rgb_to_hex['255 140 105'] = 'FF8C69';
        $this->rgb_to_hex['238 130 98'] = 'EE8262';
        $this->rgb_to_hex['205 112 84'] = 'CD7054';
        $this->rgb_to_hex['139 76 57'] = '8B4C39';
        $this->rgb_to_hex['255 160 122'] = 'FFA07A';
        $this->rgb_to_hex['238 149 114'] = 'EE9572';
        $this->rgb_to_hex['205 129 98'] = 'CD8162';
        $this->rgb_to_hex['139 87 66'] = '8B5742';
        $this->rgb_to_hex['255 165 0'] = 'FFA500';
        $this->rgb_to_hex['238 154 0'] = 'EE9A00';
        $this->rgb_to_hex['205 133 0'] = 'CD8500';
        $this->rgb_to_hex['139 90 0'] = '8B5A00';
        $this->rgb_to_hex['255 127 0'] = 'FF7F00';
        $this->rgb_to_hex['238 118 0'] = 'EE7600';
        $this->rgb_to_hex['205 102 0'] = 'CD6600';
        $this->rgb_to_hex['139 69 0'] = '8B4500';
        $this->rgb_to_hex['255 114 86'] = 'FF7256';
        $this->rgb_to_hex['238 106 80'] = 'EE6A50';
        $this->rgb_to_hex['205 91 69'] = 'CD5B45';
        $this->rgb_to_hex['139 62 47'] = '8B3E2F';
        $this->rgb_to_hex['255 99 71'] = 'FF6347';
        $this->rgb_to_hex['238 92 66'] = 'EE5C42';
        $this->rgb_to_hex['205 79 57'] = 'CD4F39';
        $this->rgb_to_hex['139 54 38'] = '8B3626';
        $this->rgb_to_hex['255 69 0'] = 'FF4500';
        $this->rgb_to_hex['238 64 0'] = 'EE4000';
        $this->rgb_to_hex['205 55 0'] = 'CD3700';
        $this->rgb_to_hex['139 37 0'] = '8B2500';
        $this->rgb_to_hex['255 0 0'] = 'FF0000';
        $this->rgb_to_hex['238 0 0'] = 'EE0000';
        $this->rgb_to_hex['205 0 0'] = 'CD0000';
        $this->rgb_to_hex['139 0 0'] = '8B0000';
        $this->rgb_to_hex['255 20 147'] = 'FF1493';
        $this->rgb_to_hex['238 18 137'] = 'EE1289';
        $this->rgb_to_hex['205 16 118'] = 'CD1076';
        $this->rgb_to_hex['139 10 80'] = '8B0A50';
        $this->rgb_to_hex['255 110 180'] = 'FF6EB4';
        $this->rgb_to_hex['238 106 167'] = 'EE6AA7';
        $this->rgb_to_hex['205 96 144'] = 'CD6090';
        $this->rgb_to_hex['139 58 98'] = '8B3A62';
        $this->rgb_to_hex['255 181 197'] = 'FFB5C5';
        $this->rgb_to_hex['238 169 184'] = 'EEA9B8';
        $this->rgb_to_hex['205 145 158'] = 'CD919E';
        $this->rgb_to_hex['139 99 108'] = '8B636C';
        $this->rgb_to_hex['255 174 185'] = 'FFAEB9';
        $this->rgb_to_hex['238 162 173'] = 'EEA2AD';
        $this->rgb_to_hex['205 140 149'] = 'CD8C95';
        $this->rgb_to_hex['139 95 101'] = '8B5F65';
        $this->rgb_to_hex['255 130 171'] = 'FF82AB';
        $this->rgb_to_hex['238 121 159'] = 'EE799F';
        $this->rgb_to_hex['205 104 137'] = 'CD6889';
        $this->rgb_to_hex['139 71 93'] = '8B475D';
        $this->rgb_to_hex['255 52 179'] = 'FF34B3';
        $this->rgb_to_hex['238 48 167'] = 'EE30A7';
        $this->rgb_to_hex['205 41 144'] = 'CD2990';
        $this->rgb_to_hex['139 28 98'] = '8B1C62';
        $this->rgb_to_hex['255 62 150'] = 'FF3E96';
        $this->rgb_to_hex['238 58 140'] = 'EE3A8C';
        $this->rgb_to_hex['205 50 120'] = 'CD3278';
        $this->rgb_to_hex['139 34 82'] = '8B2252';
        $this->rgb_to_hex['255 0 255'] = 'FF00FF';
        $this->rgb_to_hex['238 0 238'] = 'EE00EE';
        $this->rgb_to_hex['205 0 205'] = 'CD00CD';
        $this->rgb_to_hex['139 0 139'] = '8B008B';
        $this->rgb_to_hex['255 131 250'] = 'FF83FA';
        $this->rgb_to_hex['238 122 233'] = 'EE7AE9';
        $this->rgb_to_hex['205 105 201'] = 'CD69C9';
        $this->rgb_to_hex['139 71 137'] = '8B4789';
        $this->rgb_to_hex['255 187 255'] = 'FFBBFF';
        $this->rgb_to_hex['238 174 238'] = 'EEAEEE';
        $this->rgb_to_hex['205 150 205'] = 'CD96CD';
        $this->rgb_to_hex['139 102 139'] = '8B668B';
        $this->rgb_to_hex['224 102 255'] = 'E066FF';
        $this->rgb_to_hex['209 95 238'] = 'D15FEE';
        $this->rgb_to_hex['180 82 205'] = 'B452CD';
        $this->rgb_to_hex['122 55 139'] = '7A378B';
        $this->rgb_to_hex['191 62 255'] = 'BF3EFF';
        $this->rgb_to_hex['178 58 238'] = 'B23AEE';
        $this->rgb_to_hex['154 50 205'] = '9A32CD';
        $this->rgb_to_hex['104 34 139'] = '68228B';
        $this->rgb_to_hex['155 48 255'] = '9B30FF';
        $this->rgb_to_hex['145 44 238'] = '912CEE';
        $this->rgb_to_hex['125 38 205'] = '7D26CD';
        $this->rgb_to_hex['85 26 139'] = '551A8B';
        $this->rgb_to_hex['171 130 255'] = 'AB82FF';
        $this->rgb_to_hex['159 121 238'] = '9F79EE';
        $this->rgb_to_hex['137 104 205'] = '8968CD';
        $this->rgb_to_hex['93 71 139'] = '5D478B';
        $this->rgb_to_hex['255 225 255'] = 'FFE1FF';
        $this->rgb_to_hex['238 210 238'] = 'EED2EE';
        $this->rgb_to_hex['205 181 205'] = 'CDB5CD';
        $this->rgb_to_hex['139 123 139'] = '8B7B8B';
        $this->rgb_to_hex['0 0 0'] = '000000';
        $this->rgb_to_hex['0 0 0'] = '000000';
        $this->rgb_to_hex['3 3 3'] = '030303';
        $this->rgb_to_hex['3 3 3'] = '030303';
        $this->rgb_to_hex['5 5 5'] = '050505';
        $this->rgb_to_hex['5 5 5'] = '050505';
        $this->rgb_to_hex['8 8 8'] = '080808';
        $this->rgb_to_hex['8 8 8'] = '080808';
        $this->rgb_to_hex['10 10 10'] = '0A0A0A';
        $this->rgb_to_hex['10 10 10'] = '0A0A0A';
        $this->rgb_to_hex['13 13 13'] = '0D0D0D';
        $this->rgb_to_hex['13 13 13'] = '0D0D0D';
        $this->rgb_to_hex['15 15 15'] = '0F0F0F';
        $this->rgb_to_hex['15 15 15'] = '0F0F0F';
        $this->rgb_to_hex['18 18 18'] = '121212';
        $this->rgb_to_hex['18 18 18'] = '121212';
        $this->rgb_to_hex['20 20 20'] = '141414';
        $this->rgb_to_hex['20 20 20'] = '141414';
        $this->rgb_to_hex['23 23 23'] = '171717';
        $this->rgb_to_hex['23 23 23'] = '171717';
        $this->rgb_to_hex['26 26 26'] = '1A1A1A';
        $this->rgb_to_hex['26 26 26'] = '1A1A1A';
        $this->rgb_to_hex['28 28 28'] = '1C1C1C';
        $this->rgb_to_hex['28 28 28'] = '1C1C1C';
        $this->rgb_to_hex['31 31 31'] = '1F1F1F';
        $this->rgb_to_hex['31 31 31'] = '1F1F1F';
        $this->rgb_to_hex['33 33 33'] = '212121';
        $this->rgb_to_hex['33 33 33'] = '212121';
        $this->rgb_to_hex['36 36 36'] = '242424';
        $this->rgb_to_hex['36 36 36'] = '242424';
        $this->rgb_to_hex['38 38 38'] = '262626';
        $this->rgb_to_hex['38 38 38'] = '262626';
        $this->rgb_to_hex['41 41 41'] = '292929';
        $this->rgb_to_hex['41 41 41'] = '292929';
        $this->rgb_to_hex['43 43 43'] = '2B2B2B';
        $this->rgb_to_hex['43 43 43'] = '2B2B2B';
        $this->rgb_to_hex['46 46 46'] = '2E2E2E';
        $this->rgb_to_hex['46 46 46'] = '2E2E2E';
        $this->rgb_to_hex['48 48 48'] = '303030';
        $this->rgb_to_hex['48 48 48'] = '303030';
        $this->rgb_to_hex['51 51 51'] = '333333';
        $this->rgb_to_hex['51 51 51'] = '333333';
        $this->rgb_to_hex['54 54 54'] = '363636';
        $this->rgb_to_hex['54 54 54'] = '363636';
        $this->rgb_to_hex['56 56 56'] = '383838';
        $this->rgb_to_hex['56 56 56'] = '383838';
        $this->rgb_to_hex['59 59 59'] = '3B3B3B';
        $this->rgb_to_hex['59 59 59'] = '3B3B3B';
        $this->rgb_to_hex['61 61 61'] = '3D3D3D';
        $this->rgb_to_hex['61 61 61'] = '3D3D3D';
        $this->rgb_to_hex['64 64 64'] = '404040';
        $this->rgb_to_hex['64 64 64'] = '404040';
        $this->rgb_to_hex['66 66 66'] = '424242';
        $this->rgb_to_hex['66 66 66'] = '424242';
        $this->rgb_to_hex['69 69 69'] = '454545';
        $this->rgb_to_hex['69 69 69'] = '454545';
        $this->rgb_to_hex['71 71 71'] = '474747';
        $this->rgb_to_hex['71 71 71'] = '474747';
        $this->rgb_to_hex['74 74 74'] = '4A4A4A';
        $this->rgb_to_hex['74 74 74'] = '4A4A4A';
        $this->rgb_to_hex['77 77 77'] = '4D4D4D';
        $this->rgb_to_hex['77 77 77'] = '4D4D4D';
        $this->rgb_to_hex['79 79 79'] = '4F4F4F';
        $this->rgb_to_hex['79 79 79'] = '4F4F4F';
        $this->rgb_to_hex['82 82 82'] = '525252';
        $this->rgb_to_hex['82 82 82'] = '525252';
        $this->rgb_to_hex['84 84 84'] = '545454';
        $this->rgb_to_hex['84 84 84'] = '545454';
        $this->rgb_to_hex['87 87 87'] = '575757';
        $this->rgb_to_hex['87 87 87'] = '575757';
        $this->rgb_to_hex['89 89 89'] = '595959';
        $this->rgb_to_hex['89 89 89'] = '595959';
        $this->rgb_to_hex['92 92 92'] = '5C5C5C';
        $this->rgb_to_hex['92 92 92'] = '5C5C5C';
        $this->rgb_to_hex['94 94 94'] = '5E5E5E';
        $this->rgb_to_hex['94 94 94'] = '5E5E5E';
        $this->rgb_to_hex['97 97 97'] = '616161';
        $this->rgb_to_hex['97 97 97'] = '616161';
        $this->rgb_to_hex['99 99 99'] = '636363';
        $this->rgb_to_hex['99 99 99'] = '636363';
        $this->rgb_to_hex['102 102 102'] = '666666';
        $this->rgb_to_hex['102 102 102'] = '666666';
        $this->rgb_to_hex['105 105 105'] = '696969';
        $this->rgb_to_hex['105 105 105'] = '696969';
        $this->rgb_to_hex['107 107 107'] = '6B6B6B';
        $this->rgb_to_hex['107 107 107'] = '6B6B6B';
        $this->rgb_to_hex['110 110 110'] = '6E6E6E';
        $this->rgb_to_hex['110 110 110'] = '6E6E6E';
        $this->rgb_to_hex['112 112 112'] = '707070';
        $this->rgb_to_hex['112 112 112'] = '707070';
        $this->rgb_to_hex['115 115 115'] = '737373';
        $this->rgb_to_hex['115 115 115'] = '737373';
        $this->rgb_to_hex['117 117 117'] = '757575';
        $this->rgb_to_hex['117 117 117'] = '757575';
        $this->rgb_to_hex['120 120 120'] = '787878';
        $this->rgb_to_hex['120 120 120'] = '787878';
        $this->rgb_to_hex['122 122 122'] = '7A7A7A';
        $this->rgb_to_hex['122 122 122'] = '7A7A7A';
        $this->rgb_to_hex['125 125 125'] = '7D7D7D';
        $this->rgb_to_hex['125 125 125'] = '7D7D7D';
        $this->rgb_to_hex['127 127 127'] = '7F7F7F';
        $this->rgb_to_hex['127 127 127'] = '7F7F7F';
        $this->rgb_to_hex['130 130 130'] = '828282';
        $this->rgb_to_hex['130 130 130'] = '828282';
        $this->rgb_to_hex['133 133 133'] = '858585';
        $this->rgb_to_hex['133 133 133'] = '858585';
        $this->rgb_to_hex['135 135 135'] = '878787';
        $this->rgb_to_hex['135 135 135'] = '878787';
        $this->rgb_to_hex['138 138 138'] = '8A8A8A';
        $this->rgb_to_hex['138 138 138'] = '8A8A8A';
        $this->rgb_to_hex['140 140 140'] = '8C8C8C';
        $this->rgb_to_hex['140 140 140'] = '8C8C8C';
        $this->rgb_to_hex['143 143 143'] = '8F8F8F';
        $this->rgb_to_hex['143 143 143'] = '8F8F8F';
        $this->rgb_to_hex['145 145 145'] = '919191';
        $this->rgb_to_hex['145 145 145'] = '919191';
        $this->rgb_to_hex['148 148 148'] = '949494';
        $this->rgb_to_hex['148 148 148'] = '949494';
        $this->rgb_to_hex['150 150 150'] = '969696';
        $this->rgb_to_hex['150 150 150'] = '969696';
        $this->rgb_to_hex['153 153 153'] = '999999';
        $this->rgb_to_hex['153 153 153'] = '999999';
        $this->rgb_to_hex['156 156 156'] = '9C9C9C';
        $this->rgb_to_hex['156 156 156'] = '9C9C9C';
        $this->rgb_to_hex['158 158 158'] = '9E9E9E';
        $this->rgb_to_hex['158 158 158'] = '9E9E9E';
        $this->rgb_to_hex['161 161 161'] = 'A1A1A1';
        $this->rgb_to_hex['161 161 161'] = 'A1A1A1';
        $this->rgb_to_hex['163 163 163'] = 'A3A3A3';
        $this->rgb_to_hex['163 163 163'] = 'A3A3A3';
        $this->rgb_to_hex['166 166 166'] = 'A6A6A6';
        $this->rgb_to_hex['166 166 166'] = 'A6A6A6';
        $this->rgb_to_hex['168 168 168'] = 'A8A8A8';
        $this->rgb_to_hex['168 168 168'] = 'A8A8A8';
        $this->rgb_to_hex['171 171 171'] = 'ABABAB';
        $this->rgb_to_hex['171 171 171'] = 'ABABAB';
        $this->rgb_to_hex['173 173 173'] = 'ADADAD';
        $this->rgb_to_hex['173 173 173'] = 'ADADAD';
        $this->rgb_to_hex['176 176 176'] = 'B0B0B0';
        $this->rgb_to_hex['176 176 176'] = 'B0B0B0';
        $this->rgb_to_hex['179 179 179'] = 'B3B3B3';
        $this->rgb_to_hex['179 179 179'] = 'B3B3B3';
        $this->rgb_to_hex['181 181 181'] = 'B5B5B5';
        $this->rgb_to_hex['181 181 181'] = 'B5B5B5';
        $this->rgb_to_hex['184 184 184'] = 'B8B8B8';
        $this->rgb_to_hex['184 184 184'] = 'B8B8B8';
        $this->rgb_to_hex['186 186 186'] = 'BABABA';
        $this->rgb_to_hex['186 186 186'] = 'BABABA';
        $this->rgb_to_hex['189 189 189'] = 'BDBDBD';
        $this->rgb_to_hex['189 189 189'] = 'BDBDBD';
        $this->rgb_to_hex['191 191 191'] = 'BFBFBF';
        $this->rgb_to_hex['191 191 191'] = 'BFBFBF';
        $this->rgb_to_hex['194 194 194'] = 'C2C2C2';
        $this->rgb_to_hex['194 194 194'] = 'C2C2C2';
        $this->rgb_to_hex['196 196 196'] = 'C4C4C4';
        $this->rgb_to_hex['196 196 196'] = 'C4C4C4';
        $this->rgb_to_hex['199 199 199'] = 'C7C7C7';
        $this->rgb_to_hex['199 199 199'] = 'C7C7C7';
        $this->rgb_to_hex['201 201 201'] = 'C9C9C9';
        $this->rgb_to_hex['201 201 201'] = 'C9C9C9';
        $this->rgb_to_hex['204 204 204'] = 'CCCCCC';
        $this->rgb_to_hex['204 204 204'] = 'CCCCCC';
        $this->rgb_to_hex['207 207 207'] = 'CFCFCF';
        $this->rgb_to_hex['207 207 207'] = 'CFCFCF';
        $this->rgb_to_hex['209 209 209'] = 'D1D1D1';
        $this->rgb_to_hex['209 209 209'] = 'D1D1D1';
        $this->rgb_to_hex['212 212 212'] = 'D4D4D4';
        $this->rgb_to_hex['212 212 212'] = 'D4D4D4';
        $this->rgb_to_hex['214 214 214'] = 'D6D6D6';
        $this->rgb_to_hex['214 214 214'] = 'D6D6D6';
        $this->rgb_to_hex['217 217 217'] = 'D9D9D9';
        $this->rgb_to_hex['217 217 217'] = 'D9D9D9';
        $this->rgb_to_hex['219 219 219'] = 'DBDBDB';
        $this->rgb_to_hex['219 219 219'] = 'DBDBDB';
        $this->rgb_to_hex['222 222 222'] = 'DEDEDE';
        $this->rgb_to_hex['222 222 222'] = 'DEDEDE';
        $this->rgb_to_hex['224 224 224'] = 'E0E0E0';
        $this->rgb_to_hex['224 224 224'] = 'E0E0E0';
        $this->rgb_to_hex['227 227 227'] = 'E3E3E3';
        $this->rgb_to_hex['227 227 227'] = 'E3E3E3';
        $this->rgb_to_hex['229 229 229'] = 'E5E5E5';
        $this->rgb_to_hex['229 229 229'] = 'E5E5E5';
        $this->rgb_to_hex['232 232 232'] = 'E8E8E8';
        $this->rgb_to_hex['232 232 232'] = 'E8E8E8';
        $this->rgb_to_hex['235 235 235'] = 'EBEBEB';
        $this->rgb_to_hex['235 235 235'] = 'EBEBEB';
        $this->rgb_to_hex['237 237 237'] = 'EDEDED';
        $this->rgb_to_hex['237 237 237'] = 'EDEDED';
        $this->rgb_to_hex['240 240 240'] = 'F0F0F0';
        $this->rgb_to_hex['240 240 240'] = 'F0F0F0';
        $this->rgb_to_hex['242 242 242'] = 'F2F2F2';
        $this->rgb_to_hex['242 242 242'] = 'F2F2F2';
        $this->rgb_to_hex['245 245 245'] = 'F5F5F5';
        $this->rgb_to_hex['245 245 245'] = 'F5F5F5';
        $this->rgb_to_hex['247 247 247'] = 'F7F7F7';
        $this->rgb_to_hex['247 247 247'] = 'F7F7F7';
        $this->rgb_to_hex['250 250 250'] = 'FAFAFA';
        $this->rgb_to_hex['250 250 250'] = 'FAFAFA';
        $this->rgb_to_hex['252 252 252'] = 'FCFCFC';
        $this->rgb_to_hex['252 252 252'] = 'FCFCFC';
        $this->rgb_to_hex['255 255 255'] = 'FFFFFF';
        $this->rgb_to_hex['255 255 255'] = 'FFFFFF';
    }
}

?>